Enum elasticsearch_dsl::search::queries::params::FunctionScoreMode [−][src]
pub enum FunctionScoreMode {
Multiply,
Sum,
Avg,
First,
Max,
Min,
}
Expand description
Each document is scored by the defined functions. The parameter score_mode
specifies how
the computed scores are combined
Variants
Multiply
Scores are multiplied (default)
Sum
Scores are summed
Avg
Scores are averaged
First
The first function that has a matching filter is applied
Max
Maximum score is used
Min
Minimum score is used
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for FunctionScoreMode
impl Send for FunctionScoreMode
impl Sync for FunctionScoreMode
impl Unpin for FunctionScoreMode
impl UnwindSafe for FunctionScoreMode
Blanket Implementations
Mutably borrows from an owned value. Read more