GeodistanceCalculationMethod Enumeration

Determines the calculcation method for geo distances.

Definition

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public enum GeodistanceCalculationMethod

Members

Default0 Use the default calculation method. Sphinx will use 'Haversine' in versions prior to 2.2.1 and 'Adaptive' starting with 2.2.1
Haversine1 Use the Haversine algorithm (precise but also very calculation intensive).
Adaptive2 Use the Polar flat-Earth algorithm (good precisison, though not as good as Haversine, but very fast).

See Also