pub enum RecallMode {
ExactResident,
ExactPaged,
Indexed,
}Expand description
MOBILE-2d: how recall scores vectors, from Mnemo::stats.
Variants§
ExactResident
An exact scan over the fp16 vector column held in memory: a v9 file
whose live facts fit Mnemo::set_vector_cache_budget. The fast
path.
ExactPaged
An exact scan that reads vectors through the page cache: a v9 file whose live facts are over the budget, or a v8 file. Slower, and slower still as the file grows; raise the budget or build an index.
Indexed
An IVF+PQ index shortlists the candidates
(Mnemo::build_index).
Implementations§
Trait Implementations§
Source§impl Clone for RecallMode
impl Clone for RecallMode
impl Copy for RecallMode
Source§impl Debug for RecallMode
impl Debug for RecallMode
impl Eq for RecallMode
Source§impl PartialEq for RecallMode
impl PartialEq for RecallMode
impl StructuralPartialEq for RecallMode
Auto Trait Implementations§
impl Forget for RecallMode
impl Freeze for RecallMode
impl RefUnwindSafe for RecallMode
impl Send for RecallMode
impl Sync for RecallMode
impl Unpin for RecallMode
impl UnsafeUnpin for RecallMode
impl UnwindSafe for RecallMode
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