Enum elasticsearch_dsl::search::queries::params::FunctionScoreBoostMode [−][src]
pub enum FunctionScoreBoostMode {
Multiply,
Replace,
Sum,
Avg,
Max,
Min,
}
Expand description
The newly computed score is combined with the score of the query. The parameter
boost_mode
defines how.
Variants
Multiply
Query score and function score is multiplied (default)
Replace
Only function score is used, the query score is ignored
Sum
Query score and function score are added
Avg
Average
Max
Max of query score and function score
Min
Min of query score and function score
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 FunctionScoreBoostMode
impl Send for FunctionScoreBoostMode
impl Sync for FunctionScoreBoostMode
impl Unpin for FunctionScoreBoostMode
impl UnwindSafe for FunctionScoreBoostMode
Blanket Implementations
Mutably borrows from an owned value. Read more