yuru-core 0.2.3

Core fuzzy matching and ranking library for Yuru
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// Counters collected during search execution.
#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub struct SearchStats {
    /// Number of candidates visited.
    pub candidates_seen: usize,
    /// Number of compatible search keys scored.
    pub keys_seen: usize,
    /// Number of query variants considered.
    pub variants_seen: usize,
    /// Number of matcher calls made.
    pub fuzzy_calls: usize,
    /// Number of secondary quality scoring calls made.
    pub quality_score_calls: usize,
    /// Number of language reading generation calls made.
    pub reading_generation_calls: usize,
}