diff options
author | lukasz-jarocki-sonarsource <lukasz.jarocki@sonarsource.com> | 2023-08-21 16:37:34 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-08-22 20:03:05 +0000 |
commit | d4c3bbb1e8303d87260fc046841a84483711b7d3 (patch) | |
tree | 06d5d89461591281193c77f6496da449de25691a /server/sonar-webserver-es | |
parent | 04fc6db186342232be36c9f1b682ed218e210f9f (diff) | |
download | sonarqube-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.java | 6 |
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; } |