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
- All
Abstract Value Members
-
abstract
def
boost(value: Double): BoolQuery[S]
Sets the
boostparameter for this zio.elasticsearch.query.ElasticQuery.Sets the
boostparameter for this zio.elasticsearch.query.ElasticQuery. Theboostvalue 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 defaultboostvalue is 1.- value
a non-negative real number to set
boostparameter to- returns
a new instance of the zio.elasticsearch.query.ElasticQuery with the
boostvalue set.
- Definition Classes
- HasBoost
-
abstract
def
filter(queries: ElasticQuery[Any]*): BoolQuery[S]
Adds specified
filterqueries to the zio.elasticsearch.query.BoolQuery.Adds specified
filterqueries to the zio.elasticsearch.query.BoolQuery. These queries must appear in matching documents. Unlikemustthe score of the query will be ignored.- queries
the
filterqueries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
filterqueries added.
-
abstract
def
filter[S1 <: S](queries: ElasticQuery[S1]*)(implicit arg0: Schema[S1]): BoolQuery[S1]
Adds specified
filterqueries to the zio.elasticsearch.query.BoolQuery.Adds specified
filterqueries to the zio.elasticsearch.query.BoolQuery. These queries must appear in matching documents. Unlikemustthe 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
filterqueries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
filterqueries added.
-
abstract
def
minimumShouldMatch(value: Int): BoolQuery[S]
Sets the
minimumShouldMatchparameter for this ElasticQuery.Sets the
minimumShouldMatchparameter for this ElasticQuery. TheminimumShouldMatchvalue is the number of should clauses returned documents must match. If the zio.elasticsearch.query.BoolQuery includes at least oneshouldclause and nomust/filterclauses, the default value is 1. Otherwise, the default value is 0.- value
a number to set
minimumShouldMatchparameter to- returns
a new instance of the ElasticQuery with the
minimumShouldMatchvalue set.
- Definition Classes
- HasMinimumShouldMatch
-
abstract
def
must(queries: ElasticQuery[Any]*): BoolQuery[S]
Adds specified
mustqueries to the zio.elasticsearch.query.BoolQuery.Adds specified
mustqueries to the zio.elasticsearch.query.BoolQuery. These queries must appear in matching documents and will contribute to the score.- queries
the
mustqueries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
mustqueries added.
-
abstract
def
must[S1 <: S](queries: ElasticQuery[S1]*)(implicit arg0: Schema[S1]): BoolQuery[S1]
Adds specified
mustqueries to the zio.elasticsearch.query.BoolQuery.Adds specified
mustqueries 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
mustqueries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
mustqueries added.
-
abstract
def
mustNot(queries: ElasticQuery[Any]*): BoolQuery[S]
Adds specified
must notqueries to the zio.elasticsearch.query.BoolQuery.Adds specified
must notqueries to the zio.elasticsearch.query.BoolQuery. These queries must not appear in matching documents.- queries
the
must notqueries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
must notqueries added.
-
abstract
def
mustNot[S1 <: S](queries: ElasticQuery[S1]*)(implicit arg0: Schema[S1]): BoolQuery[S1]
Adds specified
must notqueries to the zio.elasticsearch.query.BoolQuery.Adds specified
must notqueries 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 notqueries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
must notqueries added.
-
abstract
def
should(queries: ElasticQuery[Any]*): BoolQuery[S]
Adds specified
shouldqueries to the zio.elasticsearch.query.BoolQuery.Adds specified
shouldqueries to the zio.elasticsearch.query.BoolQuery. These queries should appear in matching documents.- queries
the
shouldqueries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
shouldqueries added.
-
abstract
def
should[S1 <: S](queries: ElasticQuery[S1]*)(implicit arg0: Schema[S1]): BoolQuery[S1]
Adds specified
shouldqueries to the zio.elasticsearch.query.BoolQuery.Adds specified
shouldqueries 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
shouldqueries to be added- returns
an instance of the zio.elasticsearch.query.BoolQuery with
shouldqueries 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( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
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
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )