pub struct NearMatchStats {Show 16 fields
pub units: usize,
pub signed_units: usize,
pub skipped_small: usize,
pub signed_limit_dropped: usize,
pub buckets: usize,
pub stop_buckets: usize,
pub stop_bucket_members: usize,
pub proposed_pairs: usize,
pub filtered_by_size: usize,
pub filtered_by_jaccard: usize,
pub near_miss_band_pairs: usize,
pub near_misses_retained: usize,
pub near_miss_cap_dropped: usize,
pub candidate_pairs: usize,
pub budget_exhausted: bool,
pub budget_dropped: usize,
}Expand description
Counters describing what near-match generation saw and dropped.
Fields§
§units: usizeUnits across all files.
signed_units: usizeUnits signed (cleared min_shingles).
skipped_small: usizeUnits skipped for having too few shingles.
signed_limit_dropped: usizeEligible units skipped after the signature-stage ceiling was reached.
buckets: usizeLSH buckets with at least two members.
stop_buckets: usizeBuckets dropped for exceeding the posting cap.
stop_bucket_members: usizeBucket members dropped with them.
proposed_pairs: usizeDistinct pairs proposed by LSH before the deterministic gates.
filtered_by_size: usizePairs dropped by the length-ratio gate.
filtered_by_jaccard: usizePairs dropped by the estimated-Jaccard gate.
near_miss_band_pairs: usizeSize-compatible, below-threshold pairs inside the configured diagnostic band before its retention cap.
near_misses_retained: usizeDiagnostic near misses retained under the global cap.
near_miss_cap_dropped: usizeDiagnostic near misses not retained after the global cap was reached.
candidate_pairs: usizeCandidate pairs emitted.
budget_exhausted: boolWhether the pair budget ran out before all buckets were paired.
budget_dropped: usizePreviously unseen pairs in the first eligible bucket the budget could not admit. Later buckets are deliberately not materialised, so this is a lower bound on the distinct candidate-pair work left.
Trait Implementations§
Source§impl Clone for NearMatchStats
impl Clone for NearMatchStats
Source§fn clone(&self) -> NearMatchStats
fn clone(&self) -> NearMatchStats
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 NearMatchStats
impl Debug for NearMatchStats
Source§impl Default for NearMatchStats
impl Default for NearMatchStats
Source§fn default() -> NearMatchStats
fn default() -> NearMatchStats
impl Eq for NearMatchStats
Source§impl PartialEq for NearMatchStats
impl PartialEq for NearMatchStats
impl StructuralPartialEq for NearMatchStats
Auto Trait Implementations§
impl Freeze for NearMatchStats
impl RefUnwindSafe for NearMatchStats
impl Send for NearMatchStats
impl Sync for NearMatchStats
impl Unpin for NearMatchStats
impl UnsafeUnpin for NearMatchStats
impl UnwindSafe for NearMatchStats
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.