From 7ce7fdf4f797cae719cd967039d982c8aa211d78 Mon Sep 17 00:00:00 2001 From: iverase Date: Wed, 20 Sep 2023 12:38:53 +0200 Subject: [PATCH] spotless --- .../search/aggregations/bucket/terms/SignificanceLookup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/SignificanceLookup.java b/server/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/SignificanceLookup.java index fce4194e0f0a1..256720b8a91fe 100644 --- a/server/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/SignificanceLookup.java +++ b/server/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/SignificanceLookup.java @@ -233,7 +233,7 @@ private long getBackgroundFrequency(Query query) throws IOException { if (backgroundFilter != null) { query = new BooleanQuery.Builder().add(query, Occur.FILTER).add(backgroundFilter, Occur.FILTER).build(); } - //return new IndexSearcher(context.searcher().getIndexReader()).count(query); + // return new IndexSearcher(context.searcher().getIndexReader()).count(query); return context.searcher().count(query); }