pub enum NestedQueryScoreMode {
Average,
Maximum,
Minimum,
None,
Sum,
}
Expand description
Indicates how scores for matching child objects affect the root parent document’s relevance score.
Variants§
Average
Use the mean relevance score of all matching child objects.
Maximum
Uses the highest relevance score of all matching child objects.
Minimum
Uses the lowest relevance score of all matching child objects.
None
Do not use the relevance scores of matching child objects. The query
assigns parent documents a score of 0
.
Sum
Add together the relevance scores of all matching child objects.
Trait Implementations§
source§impl Clone for NestedQueryScoreMode
impl Clone for NestedQueryScoreMode
source§fn clone(&self) -> NestedQueryScoreMode
fn clone(&self) -> NestedQueryScoreMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more