mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +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