# Package org.apache.solr.search.function.distance

Solr implementations of `ValueSource` for distance based function queries.

See: Description

- Class Summary
  Class | Description
  --- | ---
  GeoDistValueSourceParser | Parses "geodist" creating `HaversineConstFunction` or `HaversineFunction` or calling `SpatialStrategy.makeDistanceValueSource(org.locationtech.spatial4j.shape.Point,double)`.
  GeohashFunction | Takes in a latitude and longitude ValueSource and produces a GeoHash.
  GeohashHaversineFunction | Calculate the Haversine distance between two geo hash codes.
  HaversineConstFunction | Haversine function with one point constant
  HaversineFunction | 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.

## Package org.apache.solr.search.function.distance Description

Solr implementations of `ValueSource` for distance based function queries.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.