Added lost comment

This commit is contained in:
Martijn van Groningen 2015-03-28 08:52:39 +01:00
parent 16d8f3ce81
commit d78159fee1
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ public class ParentToChildrenAggregator extends SingleBucketAggregator {
private final LongObjectPagedHashMap<long[]> parentOrdToOtherBuckets;
private boolean multipleBucketsPerParentOrd = false;
// This needs to be a Set to avoid duplicate reader context entries via (#setNextReader(...), it can get invoked multiple times with the same reader context)
private Set<LeafReaderContext> replay = new LinkedHashSet<>();
public ParentToChildrenAggregator(String name, AggregatorFactories factories, AggregationContext aggregationContext,