HasParentQuery
Attributes
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
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 tofalse
. - 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 totrue
. - 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 tofalse
. - 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 totrue
. - See also
-
#ignoreUnmapped
- Inherited from:
- HasIgnoreUnmapped (hidden)
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
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 forignoreUnmapped
parameter
Attributes
- Returns
-
a new instance of the zio.elasticsearch.query.ElasticQuery with the
ignoreUnmapped
value set. - Inherited from:
- HasIgnoreUnmapped (hidden)
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)