(search) Change default search profile to No Filter

Recent changes to the result ranking mean the no filter mode returns sufficiently good results for most queries that filtering by default just makes the search results more restricted.
This commit is contained in:
Viktor Lofgren 2024-02-08 13:03:59 +01:00
parent e8de468b0b
commit a4b2323ca3

View File

@ -35,7 +35,7 @@ public enum SearchProfile {
private final static SearchProfile[] values = values();
public static SearchProfile getSearchProfile(String param) {
if (null == param) {
return POPULAR;
return NO_FILTER;
}
for (var profile : values) {
@ -44,7 +44,7 @@ public enum SearchProfile {
}
}
return POPULAR;
return NO_FILTER;
}
public void addTacitTerms(SearchSubquery subquery) {