mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
Fix a diacritic issue
This commit is contained in:
parent
6da54d0cb6
commit
175e8a8495
@ -792,6 +792,10 @@ where
|
||||
|
||||
let mut peekable = query.peekable();
|
||||
while let Some(token) = peekable.next() {
|
||||
if token.lemma().is_empty() {
|
||||
continue;
|
||||
}
|
||||
|
||||
// early return if word limit is exceeded
|
||||
if primitive_query.len() >= parts_limit {
|
||||
return primitive_query;
|
||||
|
Loading…
Reference in New Issue
Block a user