Class FreshnessScoringParameters
- java.lang.Object
-
- com.azure.search.documents.indexes.models.FreshnessScoringParameters
-
public final class FreshnessScoringParameters extends Object
Provides parameter values to a freshness scoring function.
-
-
Constructor Summary
Constructors Constructor Description FreshnessScoringParameters(Duration boostingDuration)
Creates an instance of FreshnessScoringParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Duration
getBoostingDuration()
Get the boostingDuration property: The expiration period after which boosting will stop for a particular document.
-
-
-
Constructor Detail
-
FreshnessScoringParameters
public FreshnessScoringParameters(Duration boostingDuration)
Creates an instance of FreshnessScoringParameters class.- Parameters:
boostingDuration
- the boostingDuration value to set.
-
-
Method Detail
-
getBoostingDuration
public Duration getBoostingDuration()
Get the boostingDuration property: The expiration period after which boosting will stop for a particular document.- Returns:
- the boostingDuration value.
-
-