This add non-latin support for search plugin.
It's not going to change API.
Now search plugin use this regex: (?=.*\bWORD\b) and it works for latin words but not for non-latin ones and this is about \b word boundaries.
We can use this alternative way to support both latin and non-latin characters:
(?=.*(?<=\s|^)WORD(?=\s|$))
Yes.
Introduced by #1557
Contribution welcome
hi @meteorlxy @Alizadeh118
I have made a PR for this Issue.
@ThaddeusJiang
Hey, I just reviewed your solution. That may break current logic for English words.
I just made an alternative PR #2283 for this.
Hi @meteorlxy
As my test, nothing was broken.
Could you share your test case?

@ThaddeusJiang

@meteorlxy Is it incorrect?
Before your change, it won't match ready. It's the logic for English word in #1557
Thank you, I understand that it didn't match ready before my change.
I read #1557, I view the improvement is
search can now take in multiple words separated by a space.
not relate fuzzy query.
BTW, Could we support fuzzy query?