Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Sandesh Kumar <[email protected]>
  • Loading branch information
sandeshkr419 committed Feb 26, 2024
1 parent e846966 commit c6c1112
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public class TermsAggregatorTests extends AggregatorTestCase {

// aggregator.postCollection() is not required when LeafBucketCollector#termDocFreqCollector optimization is used.
// using NOOP_POST_COLLECTION_CONSUMER ensures that the bucket count in aggregation is completed before/without running postCollection()
private static final Consumer<TermsAggregator> NOOP_POST_COLLECTION_CONSUMER = termsAggregator -> {};
private static final Consumer<TermsAggregator> NOOP_POST_COLLECTION = termsAggregator -> {};

@Override
protected MapperService mapperServiceMock() {
Expand Down

0 comments on commit c6c1112

Please sign in to comment.