pub struct SegmentBuilderStats {
pub num_docs: u32,
pub unique_terms: usize,
pub postings_in_memory: usize,
pub interned_strings: usize,
pub doc_field_lengths_size: usize,
pub shard_min: usize,
pub shard_max: usize,
pub shard_avg: usize,
pub spill_bytes: u64,
}Expand description
Statistics for debugging segment builder performance
Fields§
§num_docs: u32Number of documents indexed
unique_terms: usizeNumber of unique terms in the inverted index
postings_in_memory: usizeTotal postings in memory (across all terms)
interned_strings: usizeNumber of interned strings
doc_field_lengths_size: usizeSize of doc_field_lengths vector
shard_min: usizeShard distribution (min, max, avg terms per shard)
shard_max: usize§shard_avg: usize§spill_bytes: u64Spill file offset (bytes written to disk)
Trait Implementations§
Source§impl Clone for SegmentBuilderStats
impl Clone for SegmentBuilderStats
Source§fn clone(&self) -> SegmentBuilderStats
fn clone(&self) -> SegmentBuilderStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SegmentBuilderStats
impl RefUnwindSafe for SegmentBuilderStats
impl Send for SegmentBuilderStats
impl Sync for SegmentBuilderStats
impl Unpin for SegmentBuilderStats
impl UnwindSafe for SegmentBuilderStats
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more