Package org.opensearch.index.query
Class RankFeatureQueryBuilder.ScoreFunction
java.lang.Object
org.opensearch.index.query.RankFeatureQueryBuilder.ScoreFunction
- Direct Known Subclasses:
RankFeatureQueryBuilder.ScoreFunction.Linear,RankFeatureQueryBuilder.ScoreFunction.Log,RankFeatureQueryBuilder.ScoreFunction.Saturation,RankFeatureQueryBuilder.ScoreFunction.Sigmoid
- Enclosing class:
RankFeatureQueryBuilder
Scoring function for a [rank_feature] field.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA scoring function that scores documents as simplySwhere S is the indexed value of the static feature.static classA scoring function that scores documents asMath.log(scalingFactor + S)where S is the value of the static feature.static classA scoring function that scores documents asS / (S + pivot)where S is the value of the static feature.static classA scoring function that scores documents asS^exp / (S^exp + pivot^exp)where S is the value of the static feature. -
Method Summary