1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-13 09:46:17 +00:00

#423: fulltext search by default

This commit is contained in:
bgamard
2020-08-28 17:33:27 +02:00
parent e474e7cd75
commit 42e61d6e1f
5 changed files with 25 additions and 16 deletions

View File

@@ -39,7 +39,9 @@ public class SearchQueryBuilder {
*/
public SearchQueryBuilder simpleSearch(String simpleSearch) {
if (isValid(simpleSearch)) {
query.append(SEARCH_SEPARATOR).append(simpleSearch);
query.append(SEARCH_SEPARATOR)
.append("simple:")
.append(simpleSearch);
}
return this;
}