Class MultiBucketCollector

java.lang.Object
org.elasticsearch.search.aggregations.BucketCollector
org.elasticsearch.search.aggregations.MultiBucketCollector
All Implemented Interfaces:
org.apache.lucene.search.Collector

public class MultiBucketCollector extends BucketCollector
A BucketCollector which allows running a bucket collection with several BucketCollectors. It is similar to the MultiCollector except that the wrap(boolean, java.lang.Iterable<? extends org.elasticsearch.search.aggregations.BucketCollector>) method filters out the BucketCollector.NO_OP_COLLECTORs and not the null ones.