mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 06:44: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();
|
let mut peekable = query.peekable();
|
||||||
while let Some(token) = peekable.next() {
|
while let Some(token) = peekable.next() {
|
||||||
|
if token.lemma().is_empty() {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// early return if word limit is exceeded
|
// early return if word limit is exceeded
|
||||||
if primitive_query.len() >= parts_limit {
|
if primitive_query.len() >= parts_limit {
|
||||||
return primitive_query;
|
return primitive_query;
|
||||||
|
Loading…
Reference in New Issue
Block a user