TermQuery

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

Attributes

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

Members list

Concise view

Value members

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 caseInsensitive(value: Boolean): Q

Sets the caseInsensitive parameter for the ElasticQuery. Case-insensitive queries match text regardless of the case of the characters in the query string. By default, queries are case-sensitive.

Sets the caseInsensitive parameter for the ElasticQuery. Case-insensitive queries match text regardless of the case of the characters in the query string. By default, queries are case-sensitive.

Attributes

value

the Boolean value for caseInsensitive parameter

Returns:

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

Inherited from:
HasCaseInsensitive (hidden)

Sets the caseInsensitive parameter to false for this ElasticQuery. Same as caseInsensitive.

Sets the caseInsensitive parameter to false for this ElasticQuery. Same as caseInsensitive.

Attributes

Returns:

a new instance of the ElasticQuery with the caseInsensitive value set to false.

Inherited from:
HasCaseInsensitive (hidden)
final def caseInsensitiveTrue: Q

Sets the caseInsensitive parameter to true for this ElasticQuery. Same as caseInsensitive.

Sets the caseInsensitive parameter to true for this ElasticQuery. Same as caseInsensitive.

Attributes

Returns:

a new instance of the ElasticQuery with the caseInsensitive value set to true.

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

Attributes

Inherited from:
ElasticQuery
final def toJson: Obj

Attributes

Inherited from:
ElasticQuery