diff --git a/src/query/phrase_query/phrase_scorer.rs b/src/query/phrase_query/phrase_scorer.rs index eac6c6112..c61a1432e 100644 --- a/src/query/phrase_query/phrase_scorer.rs +++ b/src/query/phrase_query/phrase_scorer.rs @@ -109,6 +109,7 @@ fn intersection(left: &mut [u32], right: &[u32]) -> usize { let mut count = 0; let left_len = left.len(); let right_len = right.len(); + // TODO: Modify this logic to add fuzziness to the logic. while left_i < left_len && right_i < right_len { let left_val = left[left_i]; let right_val = right[right_i]; @@ -170,7 +171,7 @@ impl PhraseScorer { } fn phrase_match(&mut self) -> bool { - // Need to add support for slop in phrase_count and phrase_exists + // 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;