HasParentQuery

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

Attributes

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

Members list

Value members

Abstract methods

def withScore(value: Boolean): HasParentQuery[S]

Sets the score parameter parameter for the HasParentQuery. Indicates whether the relevance score of a matching parent document is aggregated into its child documents. Defaults to false.

Sets the score parameter parameter for the HasParentQuery. Indicates whether the relevance score of a matching parent document is aggregated into its child documents. Defaults to false.

Value parameters

value

the scala.Boolean value for score parameter

Attributes

Returns

an instance of HasParentQuery enriched with the score parameter.

Concrete methods

Sets the score parameter to false for this HasParentQuery. Same as withScore(false).

Sets the score parameter to false for this HasParentQuery. Same as withScore(false).

Attributes

Returns

an instance of HasParentQuery with the score value set to false.

See also

#withScore

Sets the score parameter to true for this HasParentQuery. Same as withScore(true).

Sets the score parameter to true for this HasParentQuery. Same as withScore(true).

Attributes

Returns

an instance of HasParentQuery with the score value set to true.

See also

#withScore

Inherited methods

Sets the ignoreUnmapped parameter to false for this zio.elasticsearch.query.ElasticQuery. Same as ignoreUnmapped(false).

Sets the ignoreUnmapped parameter to false for this zio.elasticsearch.query.ElasticQuery. Same as ignoreUnmapped(false).

Attributes

Returns

a new instance of the zio.elasticsearch.query.ElasticQuery with the ignoreUnmapped value set to false.

See also

#ignoreUnmapped

Inherited from:
HasIgnoreUnmapped (hidden)

Sets the ignoreUnmapped parameter to true for this zio.elasticsearch.query.ElasticQuery. Same as ignoreUnmapped(true).

Sets the ignoreUnmapped parameter to true for this zio.elasticsearch.query.ElasticQuery. Same as ignoreUnmapped(true).

Attributes

Returns

a new instance of the zio.elasticsearch.query.ElasticQuery with the ignoreUnmapped value set to true.

See also

#ignoreUnmapped

Inherited from:
HasIgnoreUnmapped (hidden)
final def innerHits: HasParentQuery[S]

Sets the inner hits for this zio.elasticsearch.query.ElasticQuery to the default InnerHits() value.

Sets the inner hits for this zio.elasticsearch.query.ElasticQuery to the default InnerHits() value.

Attributes

Returns

a new instance of the zio.elasticsearch.query.ElasticQuery with the default inner hits.

Inherited from:
HasInnerHits (hidden)

Inherited and Abstract methods

def boost(value: Double): HasParentQuery[S]

Sets the boost parameter for this zio.elasticsearch.query.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 zio.elasticsearch.query.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.

Value parameters

value

a non-negative real number to set boost parameter to

Attributes

Returns

a new instance of the zio.elasticsearch.query.ElasticQuery with the boost value set.

Inherited from:
HasBoost (hidden)

Sets the ignoreUnmapped parameter to control whether to ignore unmapped fields and return empty hits.

Sets the ignoreUnmapped parameter to control whether to ignore unmapped fields and return empty hits.

Value parameters

value

the boolean value for ignoreUnmapped parameter

Attributes

Returns

a new instance of the zio.elasticsearch.query.ElasticQuery with the ignoreUnmapped value set.

Inherited from:
HasIgnoreUnmapped (hidden)
def innerHits(innerHits: InnerHits): HasParentQuery[S]

Sets the inner hits configuration for the zio.elasticsearch.query.NestedQuery.

Sets the inner hits configuration for the zio.elasticsearch.query.NestedQuery.

Value parameters

innerHits

the configuration for inner hits

Attributes

Returns

a new instance of the zio.elasticsearch.query.ElasticQuery with the specified inner hits configuration.

Inherited from:
HasInnerHits (hidden)