-
Notifications
You must be signed in to change notification settings - Fork 448
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
How to enable Chinese language support for searching? #395
Comments
Hello, to help us out with this feature request, please provide:
|
搜索的关键字(Search keywords):接口、注意、青龙、直接操作 |
Have you made any progress? |
修改 app/core 中lunr.js function getLunr(config) { 修改完后还有个bug const file = await fs.readFile(contentDir+filePath); 这里路径源码是读不到的加上contentDir 就能中文搜索了。 |
试了下编译报错,是要安装中文依赖??? |
node:internal/modules/esm/resolve:844 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'lunr-languages' imported from /opt/raneto/app/core/lunr.js |
npm install lunr-languages 安装 lunr-languages |
请问怎么让其支持中文搜索?
How to enable Chinese language support for searching?
The text was updated successfully, but these errors were encountered: