pub struct SearchCounters {
pub docs_evaluated: u64,
pub postings_decoded: u64,
pub blocks_decoded: u64,
pub blocks_skipped: u64,
}Expand description
Deterministic counters, extended by task 14’s pruning contracts.
Fields§
§docs_evaluated: u64Documents whose score was actually computed.
postings_decoded: u64Posting entries decoded.
blocks_decoded: u64Blocks whose contents were decoded.
blocks_skipped: u64Blocks skipped without decoding. Always zero for the exhaustive path.
Trait Implementations§
Source§impl Clone for SearchCounters
impl Clone for SearchCounters
Source§fn clone(&self) -> SearchCounters
fn clone(&self) -> SearchCounters
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 moreimpl Copy for SearchCounters
Source§impl Debug for SearchCounters
impl Debug for SearchCounters
Source§impl Default for SearchCounters
impl Default for SearchCounters
Source§fn default() -> SearchCounters
fn default() -> SearchCounters
Returns the “default value” for a type. Read more
impl Eq for SearchCounters
Source§impl PartialEq for SearchCounters
impl PartialEq for SearchCounters
impl StructuralPartialEq for SearchCounters
Auto Trait Implementations§
impl Freeze for SearchCounters
impl RefUnwindSafe for SearchCounters
impl Send for SearchCounters
impl Sync for SearchCounters
impl Unpin for SearchCounters
impl UnsafeUnpin for SearchCounters
impl UnwindSafe for SearchCounters
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