Home | History | Annotate | Download | only in autocomplete

Lines Matching refs:relevance

27   // Returns the relevance score of |match| demoted appropriately by
50 match.relevance : (match.relevance * demotion_it->second);
55 // Compute demoted relevance scores for each match.
58 // For equal-relevance matches, we sort alphabetically, so that providers
112 // clamp globally. This way, old high-relevance matches will starve new
113 // low-relevance matches, under the assumption that the new matches will
115 // new low-relevance match appear and then quickly get pushed off the bottom;
173 // In the process of trimming, drop all matches with a demoted relevance
339 matches_.front().relevance : new_matches[0].relevance) - 1;
341 // the highest-relevance matches, we copy in the lowest-relevance matches
350 match.relevance = std::min(max_relevance, match.relevance);