pub struct SparseIndexConfig {
pub full_scan_threshold: Option<u64>,
pub on_disk: Option<bool>,
pub datatype: Option<VectorDatatype>,
pub memory: Option<MemoryPlacement>,
}Expand description
WITH SPARSE (…) index settings for a sparse vector definition.
Fields§
§full_scan_threshold: Option<u64>Vector count below which full scans are used.
on_disk: Option<bool>Legacy flag storing the index on disk (prefer memory).
datatype: Option<VectorDatatype>Storage datatype (float32 / float16 / uint8). Turbo4 is rejected.
memory: Option<MemoryPlacement>Memory placement of the index.
Trait Implementations§
Source§impl Clone for SparseIndexConfig
impl Clone for SparseIndexConfig
Source§fn clone(&self) -> SparseIndexConfig
fn clone(&self) -> SparseIndexConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SparseIndexConfig
impl Debug for SparseIndexConfig
Source§impl PartialEq for SparseIndexConfig
impl PartialEq for SparseIndexConfig
impl StructuralPartialEq for SparseIndexConfig
Auto Trait Implementations§
impl Freeze for SparseIndexConfig
impl RefUnwindSafe for SparseIndexConfig
impl Send for SparseIndexConfig
impl Sync for SparseIndexConfig
impl Unpin for SparseIndexConfig
impl UnsafeUnpin for SparseIndexConfig
impl UnwindSafe for SparseIndexConfig
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