org.apache.solr.search.function.distance
Class GeoDistValueSourceParser
java.lang.Object
org.apache.solr.search.ValueSourceParser
org.apache.solr.search.function.distance.GeoDistValueSourceParser
- All Implemented Interfaces:
- NamedListInitializedPlugin
public class GeoDistValueSourceParser
- extends ValueSourceParser
Parses "geodist" creating HaversineConstFunction
or HaversineFunction
or calling SpatialStrategy.makeDistanceValueSource(com.spatial4j.core.shape.Point,double)
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoDistValueSourceParser
public GeoDistValueSourceParser()
parse
public ValueSource parse(FunctionQParser fp)
throws SyntaxError
- Description copied from class:
ValueSourceParser
- Parse the user input into a ValueSource.
- Specified by:
parse
in class ValueSourceParser
- Throws:
SyntaxError
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.