diff --git a/score.go b/score.go index dc0f4c19..9bcf1bbc 100644 --- a/score.go +++ b/score.go @@ -132,7 +132,7 @@ func (d *indexData) scoreFileUsingBM25(fileMatch *FileMatch, doc uint32, cands [ term := string(cand.substrLowered) if cand.fileName { - termFreqs[term] += 2 + termFreqs[term] += 5 } else { termFreqs[term]++ }