Class: Sunspot::Query::FieldFacet

Inherits:
AbstractFieldFacet show all
Defined in:
lib/sunspot/query/field_facet.rb

Instance Method Summary collapse

Methods inherited from AbstractFieldFacet

#initialize

Constructor Details

This class inherits a constructor from Sunspot::Query::AbstractFieldFacet

Instance Method Details

#to_paramsObject



4
5
6
# File 'lib/sunspot/query/field_facet.rb', line 4

def to_params
  super.merge(:"facet.field" => [@field.indexed_name])
end