# File lib/sunspot/search/field_stats.rb, line 8 def add_facet field @facet_fields << field end
# File lib/sunspot/search/field_stats.rb, line 16 def data @search.stats_response[@field.indexed_name] end
# File lib/sunspot/search/field_stats.rb, line 12 def field_name @field.name end