public final class FreshnessScoringFunction extends ScoringFunction
| Constructor and Description |
|---|
FreshnessScoringFunction(String fieldName,
double boost,
FreshnessScoringParameters parameters)
Constructor of
ScoringFunction. |
| Modifier and Type | Method and Description |
|---|---|
FreshnessScoringParameters |
getParameters()
Get the parameters property: Parameter values for the freshness scoring
function.
|
getBoost, getFieldName, getInterpolation, setInterpolationpublic FreshnessScoringFunction(String fieldName, double boost, FreshnessScoringParameters parameters)
ScoringFunction.fieldName - The name of the field used as input to the scoring function.boost - A multiplier for the raw score. Must be a positive number not equal to 1.0.parameters - Parameter values for the freshness scoring function.public FreshnessScoringParameters getParameters()
Copyright © 2020 Microsoft Corporation. All rights reserved.