-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
The combined search returns no results for Chinese #4613
Comments
Do you still have this issue? I just tried to reproduce your problem, I didn't run into the problem that you mentioned. |
I think I can reproduce it, but I don't speak Chinese, so @novelx please correct me if I misunderstood something. Latin script, search finds note which contain all words: Chinese test query (two non-consecutive characters taken from the text): EDIT: I'm sorry, I overlooked this line while reading through the search engine code. Joplin seems to handle non-latin scripts by switching to basic search. In basic mode, the search looks for exact matches, so "目录 文件" only finds notes in which these "words" are next to each other, separated by a space. This also explains why the I still think my second suggestion (use substring matching - What follows is my original comment.
|
ahh, you are right @mablin7, I didn't understand the issue correctly, I simply searched two words next to each other and it works fine as you described. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
Anyway I want let it open and hope it will be fixed soon |
Hope this problem can be fixed soon. |
The fantastic search feature is a bold reason that I'm using Joplin. When I search one Chinese word it works pretty well, and it's fast and accurate. I recently found that when I type in two Chinese words seperated by ' '(space) in the search box, there's always no result returned, despite what words I search and what they are organized in the original notes. I used to think that it is as design, but recently I found that when I type in two English words it works pretty well and returns the notes that contain both of the words.
Environment
Joplin version:
Platform: macOS
OS specifics: Catalina 10.15.7
Steps to reproduce
Describe what you expected to happen
The search results contain all of the notes that contain both word "目录" and word "文件".
Logfile
The text was updated successfully, but these errors were encountered: