Class SumScoreFunction
java.lang.Object
com.atlassian.confluence.search.v2.score.SumScoreFunction
- All Implemented Interfaces:
ComposableScoreFunction,ScoreFunction
ScoreFunction which sums composed functions and constants.
On OpenSearch, this class is not supported to be used as
ComposableScoreFunction i.e. to be composed inside another ScoreFunction.
In a future release, ComposableScoreFunction interface will be removed from this class, i.e. it will only implement ScoreFunction directly.- Since:
- 7.0
-
Constructor Summary
ConstructorsConstructorDescriptionSumScoreFunction(ComposableScoreFunction function1, ComposableScoreFunction function2, ComposableScoreFunction... functions) SumScoreFunction(@NonNull List<ComposableScoreFunction> functions, @NonNull List<Double> constants) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
SumScoreFunction
public SumScoreFunction(ComposableScoreFunction function1, ComposableScoreFunction function2, ComposableScoreFunction... functions) -
SumScoreFunction
public SumScoreFunction(@NonNull List<ComposableScoreFunction> functions, @NonNull List<Double> constants)
-
-
Method Details
-
getFunctions
-
getConstants
-