Examples of RangeAggregator


Examples of org.elasticsearch.search.aggregations.bucket.range.RangeAggregator

        @Override
        protected Aggregator create(final ValuesSource.GeoPoint valuesSource, long expectedBucketsCount, AggregationContext aggregationContext, Aggregator parent, Map<String, Object> metaData) {
            DistanceSource distanceSource = new DistanceSource(valuesSource, distanceType, origin, unit);
            aggregationContext.registerReaderContextAware(distanceSource);
            return new RangeAggregator(name, factories, distanceSource, null, rangeFactory, ranges, keyed, aggregationContext, parent, metaData);
        }
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.