Function result_relevance
pub fn result_relevance(query: &str, result: &SearchResult) -> i32Expand description
How the query meets one displayed hit, for merging sources: the tier in its title, else in its subtitle at subtitle weight.
pub fn result_relevance(query: &str, result: &SearchResult) -> i32How the query meets one displayed hit, for merging sources: the tier in its title, else in its subtitle at subtitle weight.