org.springframework.data.solr.core.query
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
- Author:
- Christoph Strobl
geohash
public static GeoHashFunction geohash(GeoLocation 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:
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.