Package org.elasticsearch.search.aggregations.bucket.range

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

Related Classes of org.elasticsearch.search.aggregations.bucket.range.RangeAggregator

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.