mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
clippy
This commit is contained in:
parent
3b2e467ca6
commit
15150db957
8 changed files with 13 additions and 16 deletions
|
@ -152,7 +152,7 @@ impl Index {
|
|||
Ok(stop_words.stream().into_strs()?.into_iter().collect())
|
||||
})
|
||||
.transpose()?
|
||||
.unwrap_or_else(BTreeSet::new);
|
||||
.unwrap_or_default();
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue