pub struct MaintainReport {Show 22 fields
pub purged: usize,
pub bytes_before: usize,
pub bytes_after: usize,
pub no_op: bool,
pub tombstones_before: usize,
pub facts_before: usize,
pub facts_after: usize,
pub vectors_before: usize,
pub vectors_after: usize,
pub hnsw_indexed_before: u32,
pub hnsw_indexed_after: u32,
pub shards_before: ShardLayout,
pub shards_after: ShardLayout,
pub structural_compacted: bool,
pub bm25_compacted: bool,
pub bm25_reindexed: bool,
pub hnsw_rebuilt: bool,
pub hnsw_remapped: bool,
pub hnsw_inserted: u32,
pub edges_compacted: bool,
pub edges_before: usize,
pub edge_versions_before: usize,
}Expand description
Report of a maintain pass.
Fields§
§purged: usizeTombstoned facts physically removed by this pass (their ids stay burned; a second pass over the same state purges nothing).
bytes_before: usizeBytes across the rebuilt pools before the pass.
bytes_after: usizeBytes across the rebuilt pools after the pass.
no_op: booltrue when the selected mode had no work to do and did not rewrite
storage or append a maintenance marker.
tombstones_before: usizeTombstoned records present before the pass.
facts_before: usizeFact records before the pass.
facts_after: usizeFact records after the pass.
vectors_before: usizeVector slots before the pass.
vectors_after: usizeVector slots after the pass.
hnsw_indexed_before: u32HNSW coverage before the pass.
hnsw_indexed_after: u32HNSW coverage after the pass.
shards_before: ShardLayoutShard layout before the pass.
shards_after: ShardLayoutShard layout after it. Equal to shards_before unless the pass
rebuilt the arenas into a different one.
structural_compacted: boolPhysical fact/text/vector compaction ran.
bm25_compacted: boolBM25 was compacted from existing postings without re-tokenizing text.
bm25_reindexed: boolBM25 was rebuilt by reading and tokenizing live text.
hnsw_rebuilt: boolHNSW was rebuilt from an empty graph.
hnsw_remapped: boolHNSW was carried/remapped from the previous graph.
hnsw_inserted: u32Slots inserted into HNSW during this pass.
edges_compacted: boolThe edge arenas were rewritten page-dense. No version is ever dropped,
so edge_versions_after always equals edge_versions_before; what
shrinks is the bytes they occupy.
edges_before: usizeCurrent edges before the pass.
edge_versions_before: usizeHistorical edge versions before the pass.
Trait Implementations§
Source§impl Clone for MaintainReport
impl Clone for MaintainReport
Source§fn clone(&self) -> MaintainReport
fn clone(&self) -> MaintainReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MaintainReport
impl Debug for MaintainReport
Source§impl Default for MaintainReport
impl Default for MaintainReport
Source§fn default() -> MaintainReport
fn default() -> MaintainReport
impl Eq for MaintainReport
Source§impl PartialEq for MaintainReport
impl PartialEq for MaintainReport
impl StructuralPartialEq for MaintainReport
Auto Trait Implementations§
impl Freeze for MaintainReport
impl RefUnwindSafe for MaintainReport
impl Send for MaintainReport
impl Sync for MaintainReport
impl Unpin for MaintainReport
impl UnsafeUnpin for MaintainReport
impl UnwindSafe for MaintainReport
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
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
key and return true if they are equal.