Function score

Source
pub fn score(str: &str, query: &str) -> Option<Result>
Expand description

Return best score matching QUERY against STR.