pub enum TextScoringMode {
BM25,
BayesianBM25,
CustomBM25(BM25Params),
CustomBayesianBM25(BayesianBM25Params),
}Expand description
Text scoring algorithm used by OperatorTree::Term.
Variants§
BM25
BayesianBM25
CustomBM25(BM25Params)
Explicit parameters supplied through the public engine API.
CustomBayesianBM25(BayesianBM25Params)
Explicit Bayesian calibration supplied through the public engine API.
Trait Implementations§
Source§impl Clone for TextScoringMode
impl Clone for TextScoringMode
Source§fn clone(&self) -> TextScoringMode
fn clone(&self) -> TextScoringMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextScoringMode
Source§impl Debug for TextScoringMode
impl Debug for TextScoringMode
Source§impl PartialEq for TextScoringMode
impl PartialEq for TextScoringMode
impl StructuralPartialEq for TextScoringMode
Auto Trait Implementations§
impl Freeze for TextScoringMode
impl RefUnwindSafe for TextScoringMode
impl Send for TextScoringMode
impl Sync for TextScoringMode
impl Unpin for TextScoringMode
impl UnsafeUnpin for TextScoringMode
impl UnwindSafe for TextScoringMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more