Package org.opensearch.index.query
Class RankFeatureQueryBuilder.ScoreFunction.Log
- java.lang.Object
-
- org.opensearch.index.query.RankFeatureQueryBuilder.ScoreFunction
-
- org.opensearch.index.query.RankFeatureQueryBuilder.ScoreFunction.Log
-
- Enclosing class:
- RankFeatureQueryBuilder.ScoreFunction
public static class RankFeatureQueryBuilder.ScoreFunction.Log extends RankFeatureQueryBuilder.ScoreFunction
A scoring function that scores documents asMath.log(scalingFactor + S)where S is the value of the static feature.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opensearch.index.query.RankFeatureQueryBuilder.ScoreFunction
RankFeatureQueryBuilder.ScoreFunction.Linear, RankFeatureQueryBuilder.ScoreFunction.Log, RankFeatureQueryBuilder.ScoreFunction.Saturation, RankFeatureQueryBuilder.ScoreFunction.Sigmoid
-
-
Constructor Summary
Constructors Constructor Description Log(float scalingFactor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-