
Bm25Similarity
- Namespace
- Rowles.LeanLucene.Search.Scoring
- Assembly
- Rowles.LeanLucene.dll
BM25 scoring (default). Delegates to Bm25Scorer.
public sealed class Bm25Similarity : ISimilarity
Bm25Similarity
- Implements
Instance
Gets the shared singleton instance of the BM25 similarity.
PrecomputeFactors(int, int, float)
Precomputes factors constant for a given term across all documents.
Score(int, int, float, int, int)
Computes the score for a single term occurrence in a document.
ScorePrecomputed(float, float, int, int)
Scores using precomputed factors for hot-path scoring.