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
335 336 337 338 339 340 341 |
# File 'lib/sunspot/query/restriction.rb', line 335 def negated? if @value.empty? false else super end end |