Enum Class Aggregator.SubAggCollectionMode

java.lang.Object
java.lang.Enum<Aggregator.SubAggCollectionMode>
org.elasticsearch.search.aggregations.Aggregator.SubAggCollectionMode
All Implemented Interfaces:
Serializable, Comparable<Aggregator.SubAggCollectionMode>, Constable, Writeable
Enclosing class:
Aggregator

public static enum Aggregator.SubAggCollectionMode extends Enum<Aggregator.SubAggCollectionMode> implements Writeable
Aggregation mode for sub aggregations.
  • Enum Constant Details

    • 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
  • Field Details

    • KEY

      public static final org.elasticsearch.xcontent.ParseField KEY
  • Method Details