BoolQuery

zio.elasticsearch.query.BoolQuery
sealed trait BoolQuery[S] extends ElasticQuery[S]

Attributes

Graph
Supertypes
trait ElasticQuery[S]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def filter[S1 <: S : Schema](queries: ElasticQuery[S1]*): BoolQuery[S1]
def filter(queries: ElasticQuery[Any]*): BoolQuery[S]
def must[S1 <: S : Schema](queries: ElasticQuery[S1]*): BoolQuery[S1]
def must(queries: ElasticQuery[Any]*): BoolQuery[S]
def mustNot[S1 <: S : Schema](queries: ElasticQuery[S1]*): BoolQuery[S1]
def mustNot(queries: ElasticQuery[Any]*): BoolQuery[S]
def should[S1 <: S : Schema](queries: ElasticQuery[S1]*): BoolQuery[S1]
def should(queries: ElasticQuery[Any]*): BoolQuery[S]

Inherited methods

def boost(value: Double): Q

Sets the boost parameter for this ElasticQuery. The boost 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 default boost value is 1.

Sets the boost parameter for this ElasticQuery. The boost 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 default boost value is 1.

Attributes

value

a non-negative real number to set boost parameter to

Returns:

a new instance of the ElasticQuery with the boost value set.

Inherited from:
HasBoost (hidden)
def paramsToJson(fieldPath: Option[String]): Json

Attributes

Inherited from:
ElasticQuery
final def toJson: Obj

Attributes

Inherited from:
ElasticQuery