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
Query score and function score is multiplied (default)
Only function score is used, the query score is ignored
Query score and function score are added
Average
Max of query score and function score
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