pub struct KeywordRetriever { /* private fields */ }Expand description
BM25-style keyword retriever for in-memory text search.
Scores documents using term frequency and inverse document frequency.
Implementations§
Trait Implementations§
Source§impl Default for KeywordRetriever
impl Default for KeywordRetriever
Source§impl Retriever for KeywordRetriever
impl Retriever for KeywordRetriever
Auto Trait Implementations§
impl Freeze for KeywordRetriever
impl RefUnwindSafe for KeywordRetriever
impl Send for KeywordRetriever
impl Sync for KeywordRetriever
impl Unpin for KeywordRetriever
impl UnsafeUnpin for KeywordRetriever
impl UnwindSafe for KeywordRetriever
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