pub enum Engine {
Lucene,
Nmslib,
Faiss,
}Expand description
k-NN engine used for approximate nearest neighbor search.
Variants§
Lucene
Apache Lucene engine. Good default, supports all space types.
Nmslib
NMSLIB engine. High performance for cosine and L2.
Faiss
FAISS engine. Supports IVF and HNSW, GPU-accelerated options.
Implementations§
Trait Implementations§
impl Copy for Engine
impl Eq for Engine
impl StructuralPartialEq for Engine
Auto Trait Implementations§
impl Freeze for Engine
impl RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl UnsafeUnpin for Engine
impl UnwindSafe for Engine
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