Refactor, fix, misc

This commit is contained in:
F. Levi 2025-06-15 14:18:18 +03:00
parent 24f213c343
commit 561b4836d8
9 changed files with 689 additions and 569 deletions

View file

@ -489,8 +489,7 @@ impl QueryTerm {
let mut words = BTreeSet::new();
let mut phrases = BTreeSet::new();
let ZeroTypoTerm { phrase, exact: zero_typo, prefix_of, synonyms, use_prefix_db: _ } =
&self.zero_typo;
let ZeroTypoTerm { phrase, exact: zero_typo, prefix_of, synonyms, .. } = &self.zero_typo;
words.extend(zero_typo.iter().copied());
words.extend(prefix_of.iter().copied());
phrases.extend(phrase.iter().copied());