Class GeohashFunction
java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.solr.search.function.distance.GeohashFunction
Deprecated.
Takes in a latitude and longitude ValueSource and produces a GeoHash.
Ex: geohash(lat, lon)
Note, there is no reciprocal function for this.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGeohashFunction(org.apache.lucene.queries.function.ValueSource lat, org.apache.lucene.queries.function.ValueSource lon) Deprecated. -
Method Summary
Methods inherited from class org.apache.lucene.queries.function.ValueSource
asDoubleValuesSource, asLongValuesSource, createWeight, fromDoubleValuesSource, getSortField, newContext, toString
-
Field Details
-
lat
protected org.apache.lucene.queries.function.ValueSource latDeprecated. -
lon
protected org.apache.lucene.queries.function.ValueSource lonDeprecated.
-
-
Constructor Details
-
GeohashFunction
public GeohashFunction(org.apache.lucene.queries.function.ValueSource lat, org.apache.lucene.queries.function.ValueSource lon) Deprecated.
-
-
Method Details
-
name
Deprecated. -
getValues
public org.apache.lucene.queries.function.FunctionValues getValues(Map<Object, Object> context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOExceptionDeprecated.- Specified by:
getValuesin classorg.apache.lucene.queries.function.ValueSource- Throws:
IOException
-
equals
Deprecated.- Specified by:
equalsin classorg.apache.lucene.queries.function.ValueSource
-
hashCode
public int hashCode()Deprecated.- Specified by:
hashCodein classorg.apache.lucene.queries.function.ValueSource
-
description
Deprecated.- Specified by:
descriptionin classorg.apache.lucene.queries.function.ValueSource
-