Examples of FixedSourceDistance


Examples of org.elasticsearch.common.geo.GeoDistance.FixedSourceDistance

            }

            @Override
            public void setNextReader(LeafReaderContext reader) {
                final MultiGeoPointValues geoValues = source.geoPointValues();
                final FixedSourceDistance distance = distanceType.fixedSourceDistance(origin.getLat(), origin.getLon(), unit);
                distanceValues = GeoDistance.distanceValues(geoValues, distance);
            }
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.