pub struct IndexConfig {
pub tables: usize,
pub signature_bits: usize,
pub projection_seed: u64,
pub full_scan_threshold: usize,
pub default_probes: usize,
pub default_candidate_limit: usize,
}Expand description
Deterministic LSH index construction and query defaults.
Fields§
§tables: usizeNumber of independent LSH tables stored per point.
signature_bits: usizeNumber of projection bits in each table signature.
projection_seed: u64Seed used to deterministically derive projection vectors.
full_scan_threshold: usizePoint-count threshold at or below which queries default to exact search.
default_probes: usizeDefault number of approximate buckets to probe.
default_candidate_limit: usizeDefault maximum number of approximate candidates to discover.
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 (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 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
impl Eq for IndexConfig
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 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