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, Fuzzy, GeoBoundingBox, GeoDistance, GeoPolygon, GeoShape::Polygon, HasChild, HasParent, 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, #hash, #read_option!
Methods included from Arities::Binary
Methods included from Arities::Polyadic
Methods included from Arities::Unary
Instance Method Details
#has_child(path) ⇒ Object
8 9 10 |
# File 'lib/arelastic/queries/query.rb', line 8 def has_child path Arelastic::Queries::HasChild.new path, self end |
#has_parent(path) ⇒ Object
12 13 14 |
# File 'lib/arelastic/queries/query.rb', line 12 def has_parent path Arelastic::Queries::HasParent.new path, self end |