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, init
public org.apache.lucene.queries.function.ValueSource parse(FunctionQParser fp) throws SyntaxError
ValueSourceParser
parse
in class ValueSourceParser
SyntaxError
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.