Versions in this module Expand all Collapse all v0 v0.3.0 May 26, 2026 v0.2.1 May 26, 2026 Changes in this version + const DefaultBM25B + const DefaultBM25K1 + type BM25Scorer struct + B float64 + K1 float64 + func NewBM25Scorer(k1, b float64) *BM25Scorer + func (s *BM25Scorer) Score(queryTerms []string, docTermFreq map[string]int, docLen float64, ...) float64 + func (s *BM25Scorer) ScoreWithIDF(queryTerms []string, docTermFreq map[string]int, idf map[string]float64, ...) float64