Class BestBucketsDeferringCollector

All Implemented Interfaces:
org.apache.lucene.search.Collector

public class BestBucketsDeferringCollector extends DeferringBucketCollector
A specialization of DeferringBucketCollector that collects all matches and then is able to replay a given subset of buckets which represent the survivors from a pruning process performed by the aggregator that owns this collector.
  • Constructor Details

    • BestBucketsDeferringCollector

      public BestBucketsDeferringCollector(org.apache.lucene.search.Query topLevelQuery, org.apache.lucene.search.IndexSearcher searcher, boolean isGlobal)
      Sole constructor.
      Parameters:
      isGlobal - Whether this collector visits all documents (global context)
  • Method Details