public class GeoDistValueSourceParser extends ValueSourceParser
HaversineConstFunction or HaversineFunction
or calling SpatialStrategy.makeDistanceValueSource(com.spatial4j.core.shape.Point,double).standardValueSourceParsers| Constructor and Description |
|---|
GeoDistValueSourceParser() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.queries.function.ValueSource |
parse(FunctionQParser fp)
Parse the user input into a ValueSource.
|
addParser, addParser, initpublic org.apache.lucene.queries.function.ValueSource parse(FunctionQParser fp) throws SyntaxError
ValueSourceParserparse in class ValueSourceParserSyntaxErrorCopyright © 2000–2014 The Apache Software Foundation. All rights reserved.