Geodistance Options 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
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public class GeodistanceOptionsVB
Public Class GeodistanceOptions- Inheritance
- Object GeodistanceOptions
Constructors
| GeodistanceOptions | Initializes 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
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |