pub struct TextMatch {
pub node_id: u64,
pub score: f32,
pub matched_terms: Vec<String>,
}Expand description
A single BM25 text search match.
Fields§
§node_id: u64§score: f32§matched_terms: Vec<String>Which query terms matched in this node’s content.
Auto Trait Implementations§
impl Freeze for TextMatch
impl RefUnwindSafe for TextMatch
impl Send for TextMatch
impl Sync for TextMatch
impl Unpin for TextMatch
impl UnsafeUnpin for TextMatch
impl UnwindSafe for TextMatch
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