class

Elasticsearch::DSL::Search::Queries::BoolQuery

Inherits Elasticsearch::DSL::Search::Queries::Base < Reference < Object

Bool Query AIP: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html

Constructors

new

Instance methods

bool
Source
boost(boost : Union(Type::Number, Nil))
filter(_q : Q.class, &) forall Q
filter(query : Base)
Source
filter(filter : Base | Union(Array(Base), Nil))
minimum_should_match(minimum_should_match : Type::Int | Union(String, Nil))
must(_q : Q.class, &) forall Q
must(query : Base)
Source
must(must : Base | Union(Array(Base), Nil))
must_not(_q : Q.class, &) forall Q
must_not(query : Base)
Source
must_not(must_not : Base | Union(Array(Base), Nil))
should(_q : Q.class, &) forall Q
should(query : Base)
Source
should(should : Base | Union(Array(Base), Nil))
to_json(json : JSON::Builder)
Source