pub struct QueryStats {
pub mode: QueryMode,
pub collection_points: usize,
pub buckets_probed: usize,
pub candidates_discovered: usize,
pub vectors_scored: usize,
pub probe_limit_exhausted: bool,
pub candidate_limit_exhausted: bool,
}Expand description
Work counters for a completed query.
Fields§
§mode: QueryModeAlgorithm selected for the query.
collection_points: usizeTotal points in the resolved collection root.
buckets_probed: usizeLSH buckets visited; zero for exact search.
candidates_discovered: usizeDistinct approximate candidates discovered.
vectors_scored: usizePoint vectors actually scored.
probe_limit_exhausted: boolWhether approximate discovery consumed its probe budget.
candidate_limit_exhausted: boolWhether approximate discovery consumed its candidate budget.
Trait Implementations§
Source§impl Clone for QueryStats
impl Clone for QueryStats
Source§fn clone(&self) -> QueryStats
fn clone(&self) -> QueryStats
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 QueryStats
impl Debug for QueryStats
Source§impl<'de> Deserialize<'de> for QueryStats
impl<'de> Deserialize<'de> for QueryStats
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
Auto Trait Implementations§
impl Freeze for QueryStats
impl RefUnwindSafe for QueryStats
impl Send for QueryStats
impl Sync for QueryStats
impl Unpin for QueryStats
impl UnsafeUnpin for QueryStats
impl UnwindSafe for QueryStats
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