add a comment

This commit is contained in:
Tamo
2021-06-14 10:38:56 +02:00
committed by marin postma
parent f068d7f978
commit 7cb2dcbdf8
2 changed files with 4 additions and 2 deletions

View File

@ -84,6 +84,8 @@ impl Index {
.unwrap_or_else(BTreeSet::new);
let distinct_field = self.distinct_field(&txn)?.map(String::from);
// in milli each word in the synonyms map were split on their separator. Since we lost
// this information we are going to put space between words.
let synonyms = self
.synonyms(&txn)?
.iter()