Skip to main content

finalize

Function finalize 

Source
pub fn finalize(
    hits: Vec<Hit>,
    threshold: Option<f32>,
    top_k: usize,
) -> Vec<Hit>
Expand description

Apply the score threshold, then keep the best top_k.