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