]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4898 - Centralized profiling
authorStephane Gamard <stephane.gamard@searchbox.com>
Tue, 29 Jul 2014 12:03:40 +0000 (14:03 +0200)
committerStephane Gamard <stephane.gamard@searchbox.com>
Tue, 29 Jul 2014 12:03:40 +0000 (14:03 +0200)
server/sonar-server/src/main/java/org/sonar/server/rule/index/RuleIndex.java

index 0b73331162acd4be91967c89a0a56190eef5cbe7..2885b4c1dd81fdb0d36b170865500cfb479e5532 100644 (file)
@@ -377,7 +377,7 @@ public class RuleIndex extends BaseIndex<Rule, RuleDto, RuleKey> {
         .size(Integer.MAX_VALUE)
         .minDocCount(1));
 
-    SearchResponse esResponse = request.get();
+    SearchResponse esResponse = node.execute(request);
 
     Terms aggregation = esResponse.getAggregations().get(key);