mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 21:20:24 +01:00
disable typos on exact words
This commit is contained in:
parent
900825bac0
commit
7e9d56a9e7
@ -623,7 +623,9 @@ mod test {
|
||||
}
|
||||
|
||||
fn exact_words(&self) -> crate::Result<fst::Set<Cow<[u8]>>> {
|
||||
Ok(fst::Set::new(Cow::Borrowed(self.exact_words.as_slice())).unwrap())
|
||||
let builder = fst::SetBuilder::new(Vec::new()).unwrap();
|
||||
let data = builder.into_inner().unwrap();
|
||||
Ok(fst::Set::new(Cow::Owned(data)).unwrap())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user