aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-10-29 09:49:41 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-10-29 09:49:41 +0100
commitd3f4edab1a59c5ebd800cf4f83891208ba483308 (patch)
tree067b562e2f49de66dd3d8151233091300c48dbc7 /server
parent30c42f7f010ce7e63f3c357130f485de0284b0f8 (diff)
downloadsonarqube-d3f4edab1a59c5ebd800cf4f83891208ba483308.tar.gz
sonarqube-d3f4edab1a59c5ebd800cf4f83891208ba483308.zip
SONAR-5787 fix sorting of issues by file then line
ES analyzer "sortable" must not truncate values
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/search/BaseIndex.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/search/BaseIndex.java b/server/sonar-server/src/main/java/org/sonar/server/search/BaseIndex.java
index a4dae1a5819..3353bdffdb0 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/search/BaseIndex.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/search/BaseIndex.java
@@ -544,7 +544,7 @@ public abstract class BaseIndex<DOMAIN, DTO extends Dto<KEY>, KEY extends Serial
// Sortable text analyzer
.put("index.analysis.analyzer.sortable.type", "custom")
.put("index.analysis.analyzer.sortable.tokenizer", "keyword")
- .putArray("index.analysis.analyzer.sortable.filter", "trim", "lowercase", "truncate")
+ .putArray("index.analysis.analyzer.sortable.filter", "trim", "lowercase")
// Edge NGram index-analyzer
.put("index.analysis.analyzer.index_grams.type", "custom")