Class RankFeatureQueryBuilder.ScoreFunction.Sigmoid

java.lang.Object
org.opensearch.index.query.RankFeatureQueryBuilder.ScoreFunction
org.opensearch.index.query.RankFeatureQueryBuilder.ScoreFunction.Sigmoid
Enclosing class:
RankFeatureQueryBuilder.ScoreFunction

public static class RankFeatureQueryBuilder.ScoreFunction.Sigmoid extends RankFeatureQueryBuilder.ScoreFunction
A scoring function that scores documents as S^exp / (S^exp + pivot^exp) where S is the value of the static feature.
  • Constructor Details

    • Sigmoid

      public Sigmoid(float pivot, float exp)
  • Method Details