Enum elasticsearch_dsl::search::queries::params::NestedQueryScoreMode [−][src]
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
Auto Trait Implementations
impl RefUnwindSafe for NestedQueryScoreMode
impl Send for NestedQueryScoreMode
impl Sync for NestedQueryScoreMode
impl Unpin for NestedQueryScoreMode
impl UnwindSafe for NestedQueryScoreMode
Blanket Implementations
Mutably borrows from an owned value. Read more