New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] unexpected exact query result with Chinese #4325
Comments
@authurguo did you try using TAGs for exact matching queries? I made a quick test, abusing of your index schema (adding the values in the tags field) and it works for me:
|
Thanks! |
I still need to review it, but for TEXT it's tokenising using each characters as a term/word. Is that correct, considering the Chinese vocabulary? It means for each one of the characters 一, 个, 眼, 大 the index it's taking them as tokens. For matching this query using TEXT it requires to AND/INTERSECTION ( 一 AND 个 AND 眼 AND 大). TAG it's appropriate for the use cases where you need exact match as shared by you. |
This issue is stale because it has been open for 60 days with no activity. |
Describe the bug
There is no results when exact query Chinese word.
To Reproduce
Expected behavior
Command returns
test:001
andtest:002
.Environment (please complete the following information):
Additional context
default config without any customization.
The text was updated successfully, but these errors were encountered: