aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-es
diff options
context:
space:
mode:
authorlukasz-jarocki-sonarsource <lukasz.jarocki@sonarsource.com>2023-08-21 16:37:34 +0200
committersonartech <sonartech@sonarsource.com>2023-08-22 20:03:05 +0000
commitd4c3bbb1e8303d87260fc046841a84483711b7d3 (patch)
tree06d5d89461591281193c77f6496da449de25691a /server/sonar-webserver-es
parent04fc6db186342232be36c9f1b682ed218e210f9f (diff)
downloadsonarqube-d4c3bbb1e8303d87260fc046841a84483711b7d3.tar.gz
sonarqube-d4c3bbb1e8303d87260fc046841a84483711b7d3.zip
SONAR-20198 Added rules data to elasticsearch indexes
Diffstat (limited to 'server/sonar-webserver-es')
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndex.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndex.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndex.java
index f6336ef6eda..d9d19df1598 100644
--- a/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndex.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndex.java
@@ -404,7 +404,8 @@ public class IssueIndex {
return client.search(requestBuilder);
}
- private void configureTopAggregations(IssueQuery query, SearchOptions options, SearchSourceBuilder esRequest, AllFilters allFilters, RequestFiltersComputer filterComputer) {
+ private void configureTopAggregations(IssueQuery query, SearchOptions options, SearchSourceBuilder esRequest, AllFilters allFilters,
+ RequestFiltersComputer filterComputer) {
TopAggregationHelper aggregationHelper = newAggregationHelper(filterComputer, query);
configureTopAggregations(aggregationHelper, query, options, allFilters, esRequest);
@@ -900,7 +901,8 @@ public class IssueIndex {
esRequest.aggregation(aggregation);
}
- private static void addImpactSoftwareQualityFacetIfNeeded(SearchOptions options, IssueQuery query, TopAggregationHelper aggregationHelper, SearchSourceBuilder esRequest) {
+ private static void addImpactSoftwareQualityFacetIfNeeded(SearchOptions options, IssueQuery query, TopAggregationHelper aggregationHelper,
+ SearchSourceBuilder esRequest) {
if (!options.getFacets().contains(PARAM_IMPACT_SOFTWARE_QUALITIES)) {
return;
}