mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 13:10:06 +01:00
Update meilisearch-core/src/update/settings_update.rs
Co-authored-by: marin <postma.marin@protonmail.com>
This commit is contained in:
parent
bc0d53e819
commit
940f83698c
@ -296,7 +296,7 @@ pub fn apply_synonyms_update(
|
||||
fn normalize<T: AsRef<[u8]>>(analyzer: &Analyzer<T>, text: &str) -> String {
|
||||
analyzer.analyze(&text)
|
||||
.tokens()
|
||||
.fold(String::new(), |mut s, t| s + t.text())
|
||||
.fold(String::new(), |s, t| s + t.text())
|
||||
}
|
||||
|
||||
let mut synonyms_builder = SetBuilder::memory();
|
||||
|
Loading…
x
Reference in New Issue
Block a user