]> source.dussan.org Git - sonarqube.git/commit
SONAR-9072 for api/components/suggestions use all valid search tokens
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>
Thu, 11 May 2017 16:15:55 +0000 (18:15 +0200)
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>
Fri, 12 May 2017 09:14:00 +0000 (11:14 +0200)
commitb2af375d2e5f09d3e83b04bc483702c92f55ee7f
tree5094dcb6b0e31b9da07b66231e6a24a2f719f127
parent2b73163fe188f921692e37d52265dd6d0d801133
SONAR-9072 for api/components/suggestions use all valid search tokens

The search for suggestions should ignore tokens, that are only one character long (with warning), but use all other tokens for the search.
server/sonar-server/src/main/java/org/sonar/server/component/ws/SuggestionsAction.java
server/sonar-server/src/main/java/org/sonar/server/es/textsearch/ComponentTextSearchFeatureRepertoire.java
server/sonar-server/src/main/java/org/sonar/server/es/textsearch/ComponentTextSearchQueryFactory.java
server/sonar-server/src/test/java/org/sonar/server/component/ws/SuggestionsActionTest.java