Class: Sunspot::Query::Restriction::AllOf
- Defined in:
- lib/sunspot/query/restriction.rb
Overview
Results must have field with values matching all values in given collection (only makes sense for fields with multiple values)
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #negate, #to_boolean_phrase, #to_negated_boolean_phrase, #to_params, #to_positive_boolean_phrase
Methods included from Filter
Constructor Details
This class inherits a constructor from Sunspot::Query::Restriction::Base
Instance Method Details
#negated? ⇒ Boolean
304 305 306 307 308 309 310 |
# File 'lib/sunspot/query/restriction.rb', line 304 def negated? if @value.empty? false else super end end |