pub struct HNSWPQSearchParams {
pub ef: u32,
pub limit: u32,
pub distance_far: Option<f64>,
pub distance_near: Option<f64>,
}Fields§
§ef: u32the size of the dynamic candidate list in the HNSWPQ algorithm retrieval process
limit: u32§distance_far: Option<f64>the farthest distance in the range retrieval scenario
distance_near: Option<f64>the nearest distance in the range retrieval scenario
Trait Implementations§
Source§impl Clone for HNSWPQSearchParams
impl Clone for HNSWPQSearchParams
Source§fn clone(&self) -> HNSWPQSearchParams
fn clone(&self) -> HNSWPQSearchParams
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 HNSWPQSearchParams
impl Debug for HNSWPQSearchParams
Auto Trait Implementations§
impl Freeze for HNSWPQSearchParams
impl RefUnwindSafe for HNSWPQSearchParams
impl Send for HNSWPQSearchParams
impl Sync for HNSWPQSearchParams
impl Unpin for HNSWPQSearchParams
impl UnwindSafe for HNSWPQSearchParams
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