public final class DistanceScoringParameters extends Object
| Constructor and Description |
|---|
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.
|
DistanceScoringParameters |
setBoostingDistance(double boostingDistance)
Set the boostingDistance property: The distance in kilometers from the
reference location where the boosting range ends.
|
DistanceScoringParameters |
setReferencePointParameter(String referencePointParameter)
Set the referencePointParameter property: The name of the parameter
passed in search queries to specify the reference location.
|
public String getReferencePointParameter()
public DistanceScoringParameters setReferencePointParameter(String referencePointParameter)
referencePointParameter - the referencePointParameter value to set.public double getBoostingDistance()
public DistanceScoringParameters setBoostingDistance(double boostingDistance)
boostingDistance - the boostingDistance value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.