Skip to content
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

搜索改进 #5373

Open
xiaohaiGit opened this issue Feb 19, 2024 · 2 comments
Open

搜索改进 #5373

xiaohaiGit opened this issue Feb 19, 2024 · 2 comments
Labels
kind/improvement Categorizes issue or PR as related to a improvement. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.

Comments

@xiaohaiGit
Copy link

Your current Halo version

No response

Describe this feature

现在的搜索对关键词进行了分词,有的时候,用户可能不需要对关键词进行分词。如果分词了,会产生大量的不需要的结果。这里建议,加上选择项,用户可以选择是否需要对关键词进行分词!

Additional information

No response

@JohnNiang
Copy link
Member

JohnNiang commented Feb 20, 2024

实际上可以通过一些特定的语法,让搜索不进行分词。例如可以在搜索的时候用英文双引号""包裹即可实现不对关键词分词。

https://lucene.apache.org/core/9_8_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package.description

/triaeg needs-information

@xiaohaiGit
Copy link
Author

好的,谢谢。但是很多用户都是小白,或者不是做程序开发的。有些可以通过页面点击的方式,比让他们输入符号要好些。还是建议优化下。这样受众更广

@ruibaby ruibaby added priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. kind/improvement Categorizes issue or PR as related to a improvement. labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement Categorizes issue or PR as related to a improvement. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

No branches or pull requests

3 participants