mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Fix a diacritic issue
This commit is contained in:
parent
6da54d0cb6
commit
175e8a8495
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue