Class: Sunspot::Query::Restriction::Containing
- Inherits:
-
AbstractRange
- Object
- Base
- Between
- AbstractRange
- Sunspot::Query::Restriction::Containing
- Defined in:
- lib/sunspot/query/restriction.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
-
#initialize(negated, field, value) ⇒ Containing
constructor
A new instance of Containing.
Methods inherited from Base
#negate, #negated?, #to_boolean_phrase, #to_negated_boolean_phrase, #to_params, #to_positive_boolean_phrase
Methods included from Filter
Constructor Details
#initialize(negated, field, value) ⇒ Containing
Returns a new instance of Containing.
383 384 385 386 |
# File 'lib/sunspot/query/restriction.rb', line 383 def initialize(negated, field, value) @operation = 'Contains' super end |