class Sunspot::Search::FieldStats

Public Instance Methods

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