-
Notifications
You must be signed in to change notification settings - Fork 102
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
rifle
predicate anchors tokens to beginning-of-word
#355
Comments
The issue is that tokens passed to the Line 1642 in eb53773
So they can match parts of a word, but only at the beginning of one. I don't recall why I added the If you like, we could make a branch without that anchoring and you could test it for a while and let me know if you experience any problems. Then if it seems to work well, it could be changed in the next version. What do you think? Thanks. |
I think it would be great if we could modify this behavior because for non-English content, like Chinese, it doesn't have the natural word segmentation like English, which can cause non-English queries to miss results. My current level of elisp is naive, and there are many syntaxes that I don't understand. I will try to understand the code in the next few days to see how to modify it. Thank you for your reply! |
rifle
predicate anchors tokens to beginning-of-word
For example, I cannot search this entry with "rd".
But I can search this entry with "word".
I haven't find the description of this behavior in the documentation.
The text was updated successfully, but these errors were encountered: