Examples of BucketCollector


Examples of org.elasticsearch.search.aggregations.BucketCollector

     *            the valid bucket ords for which deferred collection should be
     *            attempted
     */
    public void prepareSelectedBuckets(long... survivingBucketOrds) {
       
        BucketCollector subs = new BucketCollector() {
            @Override
            public void setNextReader(LeafReaderContext reader) {
                // Need to set AggregationContext otherwise ValueSources in aggs
                // don't read any values
              context.setNextReader(reader);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.