Class FreshnessScoringParameters
java.lang.Object
com.azure.search.documents.indexes.models.FreshnessScoringParameters
Provides parameter values to a freshness scoring function.
-
Constructor Summary
ConstructorsConstructorDescriptionFreshnessScoringParameters
(Duration boostingDuration) Creates an instance of FreshnessScoringParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the boostingDuration property: The expiration period after which boosting will stop for a particular document.
-
Constructor Details
-
FreshnessScoringParameters
Creates an instance of FreshnessScoringParameters class.- Parameters:
boostingDuration
- the boostingDuration value to set.
-
-
Method Details
-
getBoostingDuration
Get the boostingDuration property: The expiration period after which boosting will stop for a particular document.- Returns:
- the boostingDuration value.
-