mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-18 02:00:58 +00:00
bug4275 Use keyword parser supporting quoted strings for web site search
This commit is contained in:
1 parent
5c0d1b50f5
commit
c0b091227b
1 file changed
+1
-1
+1
-1
@@ -43,7 +43,7 @@ public class GetSearchResultsAction implements SailingAction<ListResult<SearchRe
|
||||
@Override
|
||||
@GwtIncompatible
|
||||
public ListResult<SearchResultDTO> execute(SailingDispatchContext ctx) throws DispatchException {
|
||||
KeywordQuery searchQuery = new KeywordQuery(searchText.split("[ \t]+"));
|
||||
KeywordQuery searchQuery = new KeywordQuery(Util.splitAlongWhitespaceRespectingDoubleQuotedPhrases(searchText));
|
||||
RacingEventService service = ctx.getRacingEventService();
|
||||
if (remoteServerName == null) {
|
||||
return getListResult(service.search(searchQuery), ctx.getRequestBaseURL(), false);
|
||||
|
||||
Reference in new issue
Block a user