Class: Boolminot::Clauses::Negation
Instance Method Summary
collapse
predicate_factory
#satisfied_by?, #to_elasticsearch_negated
Instance Method Details
#clause ⇒ Object
15
16
17
|
# File 'lib/boolminot/clauses/negation.rb', line 15
def clause
predicate
end
|
#to_elasticsearch(options = {}) ⇒ Object
7
8
9
|
# File 'lib/boolminot/clauses/negation.rb', line 7
def to_elasticsearch(options = {})
clause.to_elasticsearch_negated(options)
end
|
#to_raw_bool(options = {}) ⇒ Object
11
12
13
|
# File 'lib/boolminot/clauses/negation.rb', line 11
def to_raw_bool(options = {})
to_elasticsearch(options)
end
|