pub struct Bm25Index {
pub k1: f32,
pub b: f32,
pub avgdl: f32,
pub n_docs: usize,
pub n_terms: usize,
/* private fields */
}Fields§
§k1: f32§b: f32§avgdl: f32§n_docs: usize§n_terms: usizeImplementations§
Source§impl Bm25Index
impl Bm25Index
pub fn from_bytes(bytes: &[u8]) -> Result<Self, RuntimeError>
Auto Trait Implementations§
impl Freeze for Bm25Index
impl RefUnwindSafe for Bm25Index
impl Send for Bm25Index
impl Sync for Bm25Index
impl Unpin for Bm25Index
impl UnsafeUnpin for Bm25Index
impl UnwindSafe for Bm25Index
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