MinCompetitiveScoreAwareScorable
class MinCompetitiveScoreAwareScorable(in: Scorable, idx: Int, minScores: FloatArray) : FilterScorable
Properties
Functions
Link copied to clipboard
Returns the smoothing score of the current document matching the query. This score is used when the query/term does not appear in the document, and behaves like an idf. The smoothing score is particularly important when the Scorer returns a product of probabilities so that the document score does not go to zero when one probability is zero. This can return 0 or a smoothing score.