Interface ScoreFunctionFactory

    • Method Detail

      • createRecencyOfModificationScoreFunction

        @Deprecated
        ComposableScoreFunction createRecencyOfModificationScoreFunction()
        Create a ComposableScoreFunction which boosts content relevancy by recency of modification. More recently modified content is boosted more than older content, creating a "time decay" affect.

        May be composed of multiple ScoreFunction, depending on Confluence's implementation.

      • createGaussianDecayFunction

        GaussDecayFunction createGaussianDecayFunction()
        Create a GaussDecayFunction which boosts content relevancy by recency of modification. More recently modified content is boosted more than older content, creating a "time decay" affect.

        Decay effect is based on a gaussian function. Think - gaussian bell-curve distribution.

        See Also:
        createRecencyOfModificationScoreFunction()
      • createExpDecayFunction

        ExpDecayFunction createExpDecayFunction()
        Create an ExpDecayFunction which boosts content relevancy by recency of modification. More recently modified content is boosted more than older content, creating a "time decay" affect.

        Decay effect is based on an exponential function.

        See Also:
        createRecencyOfModificationScoreFunction()