This commit is contained in:
Halvor Bø
2021-07-05 23:04:09 +01:00
parent 8176b0335a
commit 7fe421ae2a

View File

@@ -170,6 +170,7 @@ impl<TPostings: Postings> PhraseScorer<TPostings> {
}
fn phrase_match(&mut self) -> bool {
// Need to add support for slop in phrase_count and phrase_exists
if self.scoring_enabled {
let count = self.compute_phrase_count();
self.phrase_count = count;