diff options
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/component/es/ProjectMeasuresIndexDefinition.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/component/es/ProjectMeasuresIndexDefinition.java b/server/sonar-server/src/main/java/org/sonar/server/component/es/ProjectMeasuresIndexDefinition.java index d6b2db6df7d..7424fb1b4ef 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/component/es/ProjectMeasuresIndexDefinition.java +++ b/server/sonar-server/src/main/java/org/sonar/server/component/es/ProjectMeasuresIndexDefinition.java @@ -60,7 +60,7 @@ public class ProjectMeasuresIndexDefinition implements IndexDefinition { mapping.setAttribute("_parent", ImmutableMap.of("type", TYPE_AUTHORIZATION)); mapping.setAttribute("_routing", ImmutableMap.of("required", "true")); mapping.stringFieldBuilder(FIELD_KEY).disableNorms().build(); - mapping.stringFieldBuilder(FIELD_NAME).enableSorting().enableGramSearch().build(); + mapping.stringFieldBuilder(FIELD_NAME).enableSorting().build(); mapping.stringFieldBuilder(FIELD_QUALITY_GATE).build(); mapping.createDateTimeField(FIELD_ANALYSED_AT); mapping.nestedFieldBuilder(FIELD_MEASURES) |