Package org.apache.solr.search.function.distance
Solr implementations of
ValueSource
for distance based
function queries.-
Class Summary Class Description GeoDistValueSourceParser Parses "geodist" creatingHaversineConstFunction
orHaversineFunction
or callingSpatialStrategy.makeDistanceValueSource(org.locationtech.spatial4j.shape.Point,double)
.GeohashFunction Deprecated. GeohashHaversineFunction Deprecated. HaversineConstFunction Haversine function with one point constantHaversineFunction Calculate the Haversine formula (distance) between any two points on a sphere Takes in four value sources: (latA, lonA); (latB, lonB).SquaredEuclideanFunction While not strictly a distance, the Sq.StringDistanceFunction VectorDistanceFunction Calculate the p-norm for a Vector.