DisjunctionMaxQuery

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

Attributes

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

Members list

Value members

Abstract methods

Sets the tieBreaker parameter for the zio.elasticsearch.query.DisjunctionMaxQuery. The tieBreaker value is a floating-point factor between 0 and 1.0 that is used to give more weight to documents that match multiple query clauses. Default is 0 (which means only the highest score counts).

Sets the tieBreaker parameter for the zio.elasticsearch.query.DisjunctionMaxQuery. The tieBreaker value is a floating-point factor between 0 and 1.0 that is used to give more weight to documents that match multiple query clauses. Default is 0 (which means only the highest score counts).

Value parameters

value

a number to set tieBreaker parameter to

Attributes

Returns

an instance of the zio.elasticsearch.query.DisjunctionMaxQuery enriched with the tieBreaker parameter.