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