Class: Sensei::AllQuery
Instance Attribute Summary
Attributes inherited from Query
Instance Method Summary collapse
Methods inherited from Query
construct, #get_boost, #initialize, #not_query?, q, #run, #to_sensei
Methods included from Operators
#&, #*, #boost!, #must_not, #|, #~
Constructor Details
This class inherits a constructor from Sensei::Query
Instance Method Details
#to_h ⇒ Object
185 186 187 |
# File 'lib/sensei/query.rb', line 185 def to_h {:match_all => {}.merge(get_boost)} end |