Package org.elasticsearch.index.query
Class RankFeatureQueryBuilder.ScoreFunction
java.lang.Object
org.elasticsearch.index.query.RankFeatureQueryBuilder.ScoreFunction
- Direct Known Subclasses:
RankFeatureQueryBuilder.ScoreFunction.Log,RankFeatureQueryBuilder.ScoreFunction.Saturation,RankFeatureQueryBuilder.ScoreFunction.Sigmoid
- Enclosing class:
- RankFeatureQueryBuilder
public abstract static class RankFeatureQueryBuilder.ScoreFunction
extends java.lang.Object
Scoring function for a [rank_feature] field.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRankFeatureQueryBuilder.ScoreFunction.LogA scoring function that scores documents asMath.log(scalingFactor + S)where S is the value of the static feature.static classRankFeatureQueryBuilder.ScoreFunction.SaturationA scoring function that scores documents asS / (S + pivot)where S is the value of the static feature.static classRankFeatureQueryBuilder.ScoreFunction.SigmoidA scoring function that scores documents asS^exp / (S^exp + pivot^exp)where S is the value of the static feature. -
Method Summary