Rank results that match the prefix of the first word higher
Differentiates the results that match the first word in the title from matches farther into the title. Change-Id: I69f9804a51d1c2b0e476b0f082d634b3a598997c Fixes: 34975472 Test: make RunSettingsRoboTests
This commit is contained in:
@@ -30,7 +30,7 @@ public class SearchResult implements Comparable<SearchResult> {
|
||||
* Defines the max rank for a search result to be considered as ranked. Results with ranks
|
||||
* higher than this have no guarantee for sorting order.
|
||||
*/
|
||||
public static final int MAX_RANK = 9;
|
||||
public static final int MAX_RANK = 10;
|
||||
|
||||
/**
|
||||
* The title of the result and main text displayed.
|
||||
|
||||
Reference in New Issue
Block a user