GeodistanceOptions Class

Specifies the options to use for geo distance calculations. Supported with Sphinx 2.2.1 and up.

Definition

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public class GeodistanceOptions
Inheritance
Object    GeodistanceOptions

Constructors

GeodistanceOptionsInitializes a new instance of the GeodistanceOptions class

Properties

CalculationMethod Determines the calculcation method for geo distances. If none is specified, Sphinx will use 'Haversine' in versions prior to 2.2.1 and 'Adaptive' starting with 2.2.1
InputUnit Gets the input unit for geo distance calculations.
OutputUnit Gets the output unit for geo distance calculations.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also