Class GeohashFunction
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.solr.search.function.distance.GeohashFunction
-
@Deprecated public class GeohashFunction extends org.apache.lucene.queries.function.ValueSource
Deprecated.Takes in a latitude and longitude ValueSource and produces a GeoHash.Ex: geohash(lat, lon)
Note, there is no reciprocal function for this.
-
-
Constructor Summary
Constructors Constructor Description GeohashFunction(org.apache.lucene.queries.function.ValueSource lat, org.apache.lucene.queries.function.ValueSource lon)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
description()
Deprecated.boolean
equals(Object o)
Deprecated.org.apache.lucene.queries.function.FunctionValues
getValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext)
Deprecated.int
hashCode()
Deprecated.protected String
name()
Deprecated.
-
-
-
Method Detail
-
name
protected String name()
Deprecated.
-
getValues
public org.apache.lucene.queries.function.FunctionValues getValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
Deprecated.- Specified by:
getValues
in classorg.apache.lucene.queries.function.ValueSource
- Throws:
IOException
-
equals
public boolean equals(Object o)
Deprecated.- Specified by:
equals
in classorg.apache.lucene.queries.function.ValueSource
-
hashCode
public int hashCode()
Deprecated.- Specified by:
hashCode
in classorg.apache.lucene.queries.function.ValueSource
-
description
public String description()
Deprecated.- Specified by:
description
in classorg.apache.lucene.queries.function.ValueSource
-
-