#[non_exhaustive]pub struct QueryCounters {
pub scan: ScanStats,
pub graph: GraphSearchStats,
pub lexical: SearchCounters,
pub lexical_cache_hits: usize,
pub lexical_cache_builds: usize,
}Expand description
Version 1 composition of the exact counters already returned by each query leg.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scan: ScanStatsVersion 1 vector scan work, including graph coarse and rescore reads.
graph: GraphSearchStatsVersion 1 aggregate graph traversal work.
lexical: SearchCountersVersion 1 exact lexical work; zero when no lexical leg ran.
lexical_cache_hits: usizeExact query-local count of reused assembled lexical indexes.
lexical_cache_builds: usizeExact query-local count of assembled lexical indexes built.
Trait Implementations§
Source§impl Clone for QueryCounters
impl Clone for QueryCounters
Source§fn clone(&self) -> QueryCounters
fn clone(&self) -> QueryCounters
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 QueryCounters
impl Debug for QueryCounters
Source§impl PartialEq for QueryCounters
impl PartialEq for QueryCounters
impl StructuralPartialEq for QueryCounters
Auto Trait Implementations§
impl Freeze for QueryCounters
impl RefUnwindSafe for QueryCounters
impl Send for QueryCounters
impl Sync for QueryCounters
impl Unpin for QueryCounters
impl UnsafeUnpin for QueryCounters
impl UnwindSafe for QueryCounters
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