public final class DistanceScoringParameters extends Object
| Constructor and Description |
|---|
DistanceScoringParameters(String referencePointParameter,
double boostingDistance)
Constructor of
DistanceScoringParameters. |
| Modifier and Type | Method and Description |
|---|---|
double |
getBoostingDistance()
Get the boostingDistance property: The distance in kilometers from the
reference location where the boosting range ends.
|
String |
getReferencePointParameter()
Get the referencePointParameter property: The name of the parameter
passed in search queries to specify the reference location.
|
public DistanceScoringParameters(String referencePointParameter, double boostingDistance)
DistanceScoringParameters.referencePointParameter - The name of the parameter passed in search queries to specify the
reference location.boostingDistance - The distance in kilometers from the reference location where the
boosting range ends.public String getReferencePointParameter()
public double getBoostingDistance()
Copyright © 2020 Microsoft Corporation. All rights reserved.