pub struct ThreeStageIndex { /* private fields */ }Expand description
Three-stage funnel: coarse_dim → mid_dim filter → full_dim rerank.
Distance ops breakdown:
- Stage 1 traversal: O(ef × M) at
coarse_dimdims - Stage 2 filter: O(coarse_candidates) at
mid_dimdims - Stage 3 rerank: O(mid_candidates) at
full_dimdims
Trait Implementations§
Source§impl Searcher for ThreeStageIndex
impl Searcher for ThreeStageIndex
Auto Trait Implementations§
impl Freeze for ThreeStageIndex
impl RefUnwindSafe for ThreeStageIndex
impl Send for ThreeStageIndex
impl Sync for ThreeStageIndex
impl Unpin for ThreeStageIndex
impl UnsafeUnpin for ThreeStageIndex
impl UnwindSafe for ThreeStageIndex
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