#[repr(u32)]pub enum IndexType {
Undefined = 0,
Hnsw = 1,
Ivf = 2,
Flat = 3,
Invert = 10,
Fts = 11,
}Expand description
Index type for a field.
Variants§
Undefined = 0
Undefined or unknown index type.
Hnsw = 1
Hierarchical Navigable Small World graph index (recommended for most use cases).
Ivf = 2
Inverted File index with clustering.
Flat = 3
Flat (brute-force) index — exact search, no approximation.
Invert = 10
Inverted index for scalar field filtering.
Fts = 11
Full-text search index.
Trait Implementations§
impl Copy for IndexType
impl Eq for IndexType
impl StructuralPartialEq for IndexType
Auto Trait Implementations§
impl Freeze for IndexType
impl RefUnwindSafe for IndexType
impl Send for IndexType
impl Sync for IndexType
impl Unpin for IndexType
impl UnsafeUnpin for IndexType
impl UnwindSafe for IndexType
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