Click or drag to resize
GeodistanceOptions Class
Specifies the options to use for geo distance calculations. Supported with Sphinx 2.2.1 and up.
Inheritance Hierarchy
SystemObject
  SphinxConnector.FluentApiGeodistanceOptions

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntax
public class GeodistanceOptions

The GeodistanceOptions type exposes the following members.

Constructors
  NameDescription
Public methodGeodistanceOptions
Initializes a new instance of the GeodistanceOptions class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyCalculationMethod
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
Public propertyInputUnit
Gets the input unit for geo distance calculations.
Public propertyOutputUnit
Gets the output unit for geo distance calculations.
Top
See Also