Enum Aggregator.SubAggCollectionMode

    • Enum Constant Detail

      • DEPTH_FIRST

        public static final Aggregator.SubAggCollectionMode DEPTH_FIRST
        Creates buckets and delegates to child aggregators in a single pass over the matching documents
      • BREADTH_FIRST

        public static final Aggregator.SubAggCollectionMode BREADTH_FIRST
        Creates buckets for all matching docs and then prunes to top-scoring buckets before a second pass over the data when child aggregators are called but only for docs from the top-scoring buckets