Class DistanceScoringParameters
Provides parameter values to a distance scoring function.
Inheritance
System.Object
DistanceScoringParameters
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class DistanceScoringParameters
Constructors
DistanceScoringParameters(String, Double)
Initializes a new instance of DistanceScoringParameters.
Declaration
public DistanceScoringParameters (string referencePointParameter, double boostingDistance);
Parameters
System.String
referencePointParameter
The name of the parameter passed in search queries to specify the reference location. |
System.Double
boostingDistance
The distance in kilometers from the reference location where the boosting range ends. |
Exceptions
System.ArgumentNullException
|
Properties
BoostingDistance
The distance in kilometers from the reference location where the boosting range ends.
Declaration
public double BoostingDistance { get; set; }
Property Value
System.Double
|
ReferencePointParameter
The name of the parameter passed in search queries to specify the reference location.
Declaration
public string ReferencePointParameter { get; set; }
Property Value
System.String
|