Class AbstractRareTermsAggregator

All Implemented Interfaces:, java.lang.AutoCloseable,, Releasable
Direct Known Subclasses:
LongRareTermsAggregator, StringRareTermsAggregator

public abstract class AbstractRareTermsAggregator
extends DeferableBucketAggregator
  • Field Details

    • maxDocCount

      protected final long maxDocCount
    • format

      protected final DocValueFormat format
  • Method Details

    • newFilter

      protected SetBackedScalingCuckooFilter newFilter()
    • shouldDefer

      protected boolean shouldDefer​(Aggregator aggregator)
      Description copied from class: DeferableBucketAggregator
      This method should be overridden by subclasses that want to defer calculation of a child aggregation until a first pass is complete and a set of buckets has been pruned.
      shouldDefer in class DeferableBucketAggregator
      aggregator - the child aggregator
      true if the aggregator should be deferred until a first pass at collection has completed