Class: Eson::Search::QueryFacet
- Inherits:
-
Object
- Object
- Eson::Search::QueryFacet
- Defined in:
- lib/eson/search/query_facet.rb
Instance Attribute Summary
Attributes included from Queries
Attributes included from Facet
Instance Method Summary collapse
-
#query { ... } ⇒ self
Generates a ‘query` facet in a facets context.
- #to_query_hash ⇒ Object
Methods included from Queries
Methods included from Facet
included, #method_missing, #param, #scope
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Eson::Search::Facet
Instance Method Details
#query { ... } ⇒ self
9 |
# File 'lib/eson/search/query_facet.rb', line 9 short_name :query |
#to_query_hash ⇒ Object
11 12 13 |
# File 'lib/eson/search/query_facet.rb', line 11 def to_query_hash {:query => queries.to_query_hash} end |