NestedQuery
Attributes
- Graph
- Supertypes
Members list
Value members
Inherited methods
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.
Attributes
- value
the
boolean
value forignoreUnmapped
parameter- Returns:
a new instance of the ElasticQuery with the
ignoreUnmapped
value set.- Inherited from:
- HasIgnoreUnmapped (hidden)
Sets the ignoreUnmapped
parameter to false
for this ElasticQuery. Same as ignoreUnmapped.
Sets the ignoreUnmapped
parameter to false
for this ElasticQuery. Same as ignoreUnmapped.
Attributes
- Returns:
a new instance of the ElasticQuery with the
ignoreUnmapped
value set tofalse
.- Inherited from:
- HasIgnoreUnmapped (hidden)
Sets the ignoreUnmapped
parameter to true
for this ElasticQuery. Same as ignoreUnmapped.
Sets the ignoreUnmapped
parameter to true
for this ElasticQuery. Same as ignoreUnmapped.
Attributes
- Returns:
a new instance of the ElasticQuery with the
ignoreUnmapped
value set totrue
.- Inherited from:
- HasIgnoreUnmapped (hidden)
Sets the inner hits configuration for the NestedQuery.
Sets the inner hits configuration for the NestedQuery.
Attributes
- innerHits
the configuration for inner hits
- Returns:
a new instance of the ElasticQuery with the specified inner hits configuration.
- Inherited from:
- HasInnerHits (hidden)
Sets the inner hits for this ElasticQuery to the default InnerHits()
value.
Sets the inner hits for this ElasticQuery to the default InnerHits()
value.
Attributes
- Returns:
a new instance of the ElasticQuery with the default inner hits.
- Inherited from:
- HasInnerHits (hidden)
Attributes
- Inherited from:
- ElasticQuery
Sets the ScoreMode for the NestedQuery. The ScoreMode specifies how scores of matching documents are combined for the NestedQuery.
Sets the ScoreMode for the NestedQuery. The ScoreMode specifies how scores of matching documents are combined for the NestedQuery.
Attributes
- scoreMode
the ScoreMode to use for the NestedQuery
- ScoreMode.Avg: uses the mean relevance score of all matching child objects
- ScoreMode.Max: uses the highest relevance score of all matching child objects
- ScoreMode.Min: uses the lowest relevance score of all matching child objects
- ScoreMode.None: ignores relevance scores of matching child objects and uses 0 as a score
- ScoreMode.Sum: adds together the relevance scores of all matching child objects
- Returns:
a new instance of the ElasticQuery with the specified ScoreMode.
- Inherited from:
- HasScoreMode (hidden)
Attributes
- Inherited from:
- ElasticQuery