Class GeoHashFunction

java.lang.Object
org.springframework.data.solr.core.query.AbstractFunction
org.springframework.data.solr.core.query.GeoHashFunction
All Implemented Interfaces:
Function

public class GeoHashFunction extends AbstractFunction
Implementation of geohash(latitude, longitude)
Since:
1.1
  • Method Details

    • geohash

      public static GeoHashFunction geohash(org.springframework.data.geo.Point location)
      Parameters:
      location - must not be null
      Returns:
    • geohash

      public static GeoHashFunction geohash(double latitude, double longitude)
      Parameters:
      latitude -
      longitude -
      Returns:
    • getOperation

      public String getOperation()
      Description copied from interface: Function
      solr readable representation of function
      Returns: