class Arelastic::Queries::Query
Public Instance Methods
has_child(path)
click to toggle source
# File lib/arelastic/queries/query.rb, line 8 def has_child path Arelastic::Queries::HasChild.new path, self end
has_parent(path)
click to toggle source
# File lib/arelastic/queries/query.rb, line 12 def has_parent path Arelastic::Queries::HasParent.new path, self end
negate()
click to toggle source
# File lib/arelastic/queries/query.rb, line 16 def negate Arelastic::Queries::Bool.new must_not: self end
nested(path)
click to toggle source
# File lib/arelastic/queries/query.rb, line 4 def nested path Arelastic::Queries::Nested.new path, self end