Class: Arelastic::Filters::Filter
Direct Known Subclasses
And, Exists, GeoBoundingBox, GeoDistance, HasChild, Ids, Limit, MatchAll, Missing, Nested, Not, Or, Prefix, Query, Range, Script, Term, Terms
Instance Method Summary
collapse
Methods inherited from Nodes::Node
#==, #convert_to_elastic
#binary
#polyadic
#unary
Instance Method Details
#and(other) ⇒ Object
8
9
10
|
# File 'lib/arelastic/filters/filter.rb', line 8
def and other
Arelastic::Filters::And.new [self, other]
end
|
#or(other) ⇒ Object
4
5
6
|
# File 'lib/arelastic/filters/filter.rb', line 4
def or other
Arelastic::Filters::Or.new [self, other]
end
|