sealed trait BoolQuery[S] extends ElasticQuery[S] with HasBoost[BoolQuery[S]] with HasMinimumShouldMatch[BoolQuery[S]]
- Alphabetic
- By Inheritance
- BoolQuery
- HasMinimumShouldMatch
- HasBoost
- ElasticQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def boost(value: Double): BoolQuery[S]
Sets the
boost
parameter for this zio.elasticsearch.query.ElasticQuery.Sets the
boost
parameter for this zio.elasticsearch.query.ElasticQuery. Theboost
value is a positive multiplier applied to the score of documents matching the query. A value greater than 1 increases the relevance score of matching documents, while a value less than 1 decreases it. The defaultboost
value is 1.- value
a non-negative real number to set
boost
parameter to- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
boost
value set.
- Definition Classes
- HasBoost
- abstract def filter(queries: ElasticQuery[Any]*): BoolQuery[S]
Adds specified
filter
queries to the zio.elasticsearch.query.BoolQuery.Adds specified
filter
queries to the zio.elasticsearch.query.BoolQuery. These queries must appear in matching documents. Unlikemust
the score of the query will be ignored.- queries
the
filter
queries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
filter
queries added.
- abstract def filter[S1 <: S](queries: ElasticQuery[S1]*)(implicit arg0: Schema[S1]): BoolQuery[S1]
Adds specified
filter
queries to the zio.elasticsearch.query.BoolQuery.Adds specified
filter
queries to the zio.elasticsearch.query.BoolQuery. These queries must appear in matching documents. Unlikemust
the score of the query will be ignored.- S1
the type of the sub-queries, for which an implicit zio.schema.Schema is required
- queries
the
filter
queries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
filter
queries added.
- abstract def minimumShouldMatch(value: Int): BoolQuery[S]
Sets the
minimumShouldMatch
parameter for this zio.elasticsearch.ElasticQuery.Sets the
minimumShouldMatch
parameter for this zio.elasticsearch.ElasticQuery. TheminimumShouldMatch
value is the number of should clauses returned documents must match. If the zio.elasticsearch.query.BoolQuery includes at least oneshould
clause and nomust
/filter
clauses, the default value is 1. Otherwise, the default value is 0.- value
a number to set
minimumShouldMatch
parameter to- returns
a new instance of the zio.elasticsearch.ElasticQuery with the
minimumShouldMatch
value set.
- Definition Classes
- HasMinimumShouldMatch
- abstract def must(queries: ElasticQuery[Any]*): BoolQuery[S]
Adds specified
must
queries to the zio.elasticsearch.query.BoolQuery.Adds specified
must
queries to the zio.elasticsearch.query.BoolQuery. These queries must appear in matching documents and will contribute to the score.- queries
the
must
queries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
must
queries added.
- abstract def must[S1 <: S](queries: ElasticQuery[S1]*)(implicit arg0: Schema[S1]): BoolQuery[S1]
Adds specified
must
queries to the zio.elasticsearch.query.BoolQuery.Adds specified
must
queries to the zio.elasticsearch.query.BoolQuery. These queries must appear in matching documents and will contribute to the score.- S1
the type of the sub-queries, for which an implicit zio.schema.Schema is required
- queries
the
must
queries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
must
queries added.
- abstract def mustNot(queries: ElasticQuery[Any]*): BoolQuery[S]
Adds specified
must not
queries to the zio.elasticsearch.query.BoolQuery.Adds specified
must not
queries to the zio.elasticsearch.query.BoolQuery. These queries must not appear in matching documents.- queries
the
must not
queries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
must not
queries added.
- abstract def mustNot[S1 <: S](queries: ElasticQuery[S1]*)(implicit arg0: Schema[S1]): BoolQuery[S1]
Adds specified
must not
queries to the zio.elasticsearch.query.BoolQuery.Adds specified
must not
queries to the zio.elasticsearch.query.BoolQuery. These queries must not appear in matching documents.- S1
the type of the sub-queries, for which an implicit zio.schema.Schema is required
- queries
the
must not
queries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
must not
queries added.
- abstract def should(queries: ElasticQuery[Any]*): BoolQuery[S]
Adds specified
should
queries to the zio.elasticsearch.query.BoolQuery.Adds specified
should
queries to the zio.elasticsearch.query.BoolQuery. These queries should appear in matching documents.- queries
the
should
queries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
should
queries added.
- abstract def should[S1 <: S](queries: ElasticQuery[S1]*)(implicit arg0: Schema[S1]): BoolQuery[S1]
Adds specified
should
queries to the zio.elasticsearch.query.BoolQuery.Adds specified
should
queries to the zio.elasticsearch.query.BoolQuery. These queries should appear in matching documents.- S1
the type of the sub-queries, for which an implicit zio.schema.Schema is required
- queries
the
should
queries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
should
queries added.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])