Class: Arelastic::Queries::Query
- Inherits:
-
Nodes::Node
- Object
- Nodes::Node
- Arelastic::Queries::Query
- Defined in:
- lib/arelastic/queries/query.rb
Direct Known Subclasses
Bool, ConstantScore, DisMax, Exists, Field, Filter, FunctionScore, GeoBoundingBox, GeoDistance, HasChild, Ids, Limit, Match, MatchAll, MatchNone, MatchPhrase, MultiMatch, Nested, Percolate, Prefix, QueryString, Range, Regexp, Script, SimpleQueryString, Term, Terms, Wildcard
Instance Method Summary collapse
Methods inherited from Nodes::Node
#==, #convert_to_elastic, #read_option!
Methods included from Arities::Binary
Methods included from Arities::Polyadic
Methods included from Arities::Unary
Instance Method Details
#negate ⇒ Object
8 9 10 |
# File 'lib/arelastic/queries/query.rb', line 8 def negate Arelastic::Queries::Bool.new must_not: self end |
#nested(path) ⇒ Object
4 5 6 |
# File 'lib/arelastic/queries/query.rb', line 4 def nested path Arelastic::Queries::Nested.new path, self end |