mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 00:55:00 +08: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