pub struct Fts5Hit {
pub memory_id: MemoryId,
pub raw_rank: f32,
pub normalized_score: f32,
}Expand description
One FTS5 fuzzy hit, expressed in the retrieval-layer score band.
Fields§
§memory_id: MemoryIdMemory id matched by the FTS5 trigram mirror.
raw_rank: f32Raw FTS5 BM25 rank (non-positive, smaller is better).
normalized_score: f32exp(raw_rank) — the rank mapped into (0, 1] so it can be
composed with the deterministic lexical scorer.
Implementations§
Trait Implementations§
impl Copy for Fts5Hit
impl StructuralPartialEq for Fts5Hit
Auto Trait Implementations§
impl Freeze for Fts5Hit
impl RefUnwindSafe for Fts5Hit
impl Send for Fts5Hit
impl Sync for Fts5Hit
impl Unpin for Fts5Hit
impl UnsafeUnpin for Fts5Hit
impl UnwindSafe for Fts5Hit
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