Skip to content

Commit c704668

Browse files
committed
added override in getLeafCollector method
Signed-off-by: shreyah963 <[email protected]>
1 parent abf09ed commit c704668

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/main/java/org/opensearch/search/aggregations/bucket/histogram/DateHistogramAggregator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ protected boolean tryPrecomputeAggregationForLeaf(LeafReaderContext ctx) throws
197197
return filterRewriteOptimizationContext.tryOptimize(ctx, this::incrementBucketDocCount, segmentMatchAll(context, ctx));
198198
}
199199

200+
@Override
200201
public LeafBucketCollector getLeafCollector(LeafReaderContext ctx, LeafBucketCollector sub) throws IOException {
201202
if (valuesSource == null) {
202203
return LeafBucketCollector.NO_OP_COLLECTOR;

0 commit comments

Comments
 (0)