pub enum ExactnessProfile {
Default,
PreferExact,
AllowApproximate,
}Expand description
Controls whether search should prefer exact reference scoring or allow approximate backends.
Variants§
Default
Use the configured default backend policy.
PreferExact
Prefer exact brute-force f32 vector scoring over approximate sidecars.
AllowApproximate
Permit approximate candidate generation, with exact rerank when configured.
Trait Implementations§
Source§impl Clone for ExactnessProfile
impl Clone for ExactnessProfile
Source§fn clone(&self) -> ExactnessProfile
fn clone(&self) -> ExactnessProfile
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 ExactnessProfile
impl Debug for ExactnessProfile
Source§impl Default for ExactnessProfile
impl Default for ExactnessProfile
Source§fn default() -> ExactnessProfile
fn default() -> ExactnessProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExactnessProfile
impl<'de> Deserialize<'de> for ExactnessProfile
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 ExactnessProfile
impl PartialEq for ExactnessProfile
Source§fn eq(&self, other: &ExactnessProfile) -> bool
fn eq(&self, other: &ExactnessProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExactnessProfile
impl Serialize for ExactnessProfile
impl Copy for ExactnessProfile
impl Eq for ExactnessProfile
impl StructuralPartialEq for ExactnessProfile
Auto Trait Implementations§
impl Freeze for ExactnessProfile
impl RefUnwindSafe for ExactnessProfile
impl Send for ExactnessProfile
impl Sync for ExactnessProfile
impl Unpin for ExactnessProfile
impl UnsafeUnpin for ExactnessProfile
impl UnwindSafe for ExactnessProfile
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