pub struct LexicalConfig {
pub min_similarity: f64,
pub top_k_neighbors: usize,
pub max_df_ratio: f64,
pub min_idf: f64,
pub max_postings: usize,
pub weight_min: f64,
pub weight_max: f64,
pub backward_factor: f64,
}Fields§
§min_similarity: f64§top_k_neighbors: usize§max_df_ratio: f64§min_idf: f64§max_postings: usize§weight_min: f64§weight_max: f64§backward_factor: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for LexicalConfig
impl RefUnwindSafe for LexicalConfig
impl Send for LexicalConfig
impl Sync for LexicalConfig
impl Unpin for LexicalConfig
impl UnsafeUnpin for LexicalConfig
impl UnwindSafe for LexicalConfig
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more