public final class DistanceScoringFunction extends ScoringFunction
Constructor and Description |
---|
DistanceScoringFunction(String fieldName,
double boost,
DistanceScoringParameters parameters)
Creates an instance of DistanceScoringFunction class.
|
Modifier and Type | Method and Description |
---|---|
DistanceScoringParameters |
getParameters()
Get the parameters property: Parameter values for the distance scoring function.
|
getBoost, getFieldName, getInterpolation, setInterpolation
public DistanceScoringFunction(String fieldName, double boost, DistanceScoringParameters parameters)
fieldName
- the fieldName value to set.boost
- the boost value to set.parameters
- the parameters value to set.public DistanceScoringParameters getParameters()
Copyright © 2021 Microsoft Corporation. All rights reserved.