Package org.elasticsearch.search.aggregations.bucket.terms.InternalTerms

Examples of org.elasticsearch.search.aggregations.bucket.terms.InternalTerms.Bucket


        //replay any deferred collections
        runDeferredCollections(survivingBucketOrds);
       
        //Now build the aggs
        for (int i = 0; i < list.length; i++) {
          Bucket bucket = list[i];
          bucket.aggregations = bucket.docCount == 0 ? bucketEmptyAggregations() : bucketAggregations(bucket.bucketOrd);
          bucket.docCountError = 0;
        }

        return new StringTerms(name, order, bucketCountThresholds.getRequiredSize(), bucketCountThresholds.getShardSize(), bucketCountThresholds.getMinDocCount(), Arrays.asList(list), showTermDocCountError, 0, otherDocCount, getMetaData());
View Full Code Here

TOP

Related Classes of org.elasticsearch.search.aggregations.bucket.terms.InternalTerms.Bucket

Copyright © 2018 www.massapicom. 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.