Class ScriptDocValues.GeoPoints

    • Method Detail

      • resize

        protected void resize​(int newSize)
        Set the size() and ensure that the values array can store at least that many entries.
      • getLat

        public double getLat()
      • getLats

        public double[] getLats()
      • getLons

        public double[] getLons()
      • getLon

        public double getLon()
      • arcDistance

        public double arcDistance​(double lat,
                                  double lon)
      • arcDistanceWithDefault

        public double arcDistanceWithDefault​(double lat,
                                             double lon,
                                             double defaultValue)
      • planeDistance

        public double planeDistance​(double lat,
                                    double lon)
      • planeDistanceWithDefault

        public double planeDistanceWithDefault​(double lat,
                                               double lon,
                                               double defaultValue)
      • geohashDistance

        public double geohashDistance​(String geohash)
      • geohashDistanceWithDefault

        public double geohashDistanceWithDefault​(String geohash,
                                                 double defaultValue)