Skip to main content

rank

Function rank 

Source
pub fn rank(
    candidates: &[Candidate<'_>],
    scores: &HashMap<String, Score>,
    query: &str,
) -> Vec<usize>
Expand description

Indices into candidates, best first, with non-matching entries removed.