pub struct IndexConfig {
pub dimensions: usize,
pub connectivity: usize,
pub ef_construction: usize,
pub ef_search: usize,
pub capacity: usize,
}Expand description
Configuration for the persistent HNSW index
Fields§
§dimensions: usizeNumber of dimensions
connectivity: usizeHNSW M parameter (max connections per node)
ef_construction: usizeHNSW ef_construction parameter
ef_search: usizeHNSW ef_search parameter
capacity: usizeMaximum capacity (number of vectors)
Trait Implementations§
Source§impl Clone for IndexConfig
impl Clone for IndexConfig
Source§fn clone(&self) -> IndexConfig
fn clone(&self) -> IndexConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 IndexConfig
impl Debug for IndexConfig
Auto Trait Implementations§
impl Freeze for IndexConfig
impl RefUnwindSafe for IndexConfig
impl Send for IndexConfig
impl Sync for IndexConfig
impl Unpin for IndexConfig
impl UnsafeUnpin for IndexConfig
impl UnwindSafe for IndexConfig
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