Class FreshnessScoringParameters


  • public final class FreshnessScoringParameters
    extends Object
    Provides parameter values to a freshness scoring function.
    • 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.