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 Details

    • FreshnessScoringParameters

      public FreshnessScoringParameters(Duration boostingDuration)
      Creates an instance of FreshnessScoringParameters class.
      Parameters:
      boostingDuration - the boostingDuration value to set.
  • Method Details

    • getBoostingDuration

      public Duration getBoostingDuration()
      Get the boostingDuration property: The expiration period after which boosting will stop for a particular document.
      Returns:
      the boostingDuration value.