| GeodistanceCalculationMethod Enumeration |
Determines the calculcation method for geo distances.
Namespace:
SphinxConnector.FluentApi
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntax public enum GeodistanceCalculationMethod
Public Enumeration GeodistanceCalculationMethod
Members
| Member name | Value | Description |
---|
| Default | 0 |
Use the default calculation method. Sphinx will use 'Haversine' in versions
prior to 2.2.1 and 'Adaptive' starting with 2.2.1
|
| Haversine | 1 |
Use the Haversine algorithm (precise but also very calculation intensive).
|
| Adaptive | 2 |
Use the Polar flat-Earth algorithm (good precisison, though not as good as Haversine, but very fast).
|
See Also