pub struct IndexSearchStats {
pub docs_scanned: usize,
pub max_resident_hits: usize,
pub segments_open: usize,
}Expand description
Observability for the proportional-memory bound.
Fields§
§docs_scanned: usizeDocuments popped from the merge (early termination keeps this far below the corpus size for full pages).
max_resident_hits: usizePeak retained hits — bounded by the requested limit by construction.
segments_open: usizeSegment readers opened for this query — bounded by MAX_SEGMENTS.
Trait Implementations§
Source§impl Clone for IndexSearchStats
impl Clone for IndexSearchStats
impl Copy for IndexSearchStats
Source§impl Debug for IndexSearchStats
impl Debug for IndexSearchStats
Source§impl Default for IndexSearchStats
impl Default for IndexSearchStats
impl Eq for IndexSearchStats
Source§impl PartialEq for IndexSearchStats
impl PartialEq for IndexSearchStats
impl StructuralPartialEq for IndexSearchStats
Auto Trait Implementations§
impl Freeze for IndexSearchStats
impl RefUnwindSafe for IndexSearchStats
impl Send for IndexSearchStats
impl Sync for IndexSearchStats
impl Unpin for IndexSearchStats
impl UnsafeUnpin for IndexSearchStats
impl UnwindSafe for IndexSearchStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.