pub struct IndexConfig {
pub m: usize,
pub ef_construction: usize,
pub ef_search: usize,
}Expand description
ST-HNSW index configuration.
Fields§
§m: usizeMaximum connections per node per layer.
ef_construction: usizeSearch width during index construction.
ef_search: usizeSearch width during queries.
Trait Implementations§
Source§impl Clone for IndexConfig
impl Clone for IndexConfig
Source§fn clone(&self) -> IndexConfig
fn clone(&self) -> IndexConfig
Returns a copy 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
Source§impl Default for IndexConfig
impl Default for IndexConfig
Source§impl<'de> Deserialize<'de> for IndexConfigwhere
IndexConfig: Default,
impl<'de> Deserialize<'de> for IndexConfigwhere
IndexConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IndexConfig
impl PartialEq for IndexConfig
Source§impl Serialize for IndexConfig
impl Serialize for IndexConfig
impl StructuralPartialEq 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 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