-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
自带搜索工具不能搜索到中文内容的md #2243
Comments
May be duplicated of #2242 |
@jimwmg 你可以去看下0.x版本的 |
试过几个0.x版本呢,都不行 |
@taojunnan 我也是一样的问题。卡了两天了以为我自己的问题。但是我github上下载其他人的代码,在我电脑上运行,是没有问题的。 |
@Teacher-Li 这是我GitHub上随便找的例子运行是可以的,版本 |
@liqingchang0365 item.title && item.title.toLowerCase().indexOf(query) > -1
`(?=.*\\b${escapeRegExp(word)})` |
我也发现了,最近 #1557 的被合并了,导致不能搜索到中文了,希望官方能修复下吧 这是不能搜索到中文的仓库:https://github.com/zq99299/linux-tutorial 这是可以搜索中文的仓库:https://github.com/zq99299/note-book |
b592883 |
感谢! |
我目前还是通过:https://community.algolia.com/docsearch/ 解决的,本地启动的还是无法支持 全局 + 中文搜索 |
@jimwmg 申请不下来,有些主要还是公司内部查阅的文档,没有挂外网 |
紧急的话可以考虑先用 1.3 版本。 Closing this as duplicated of #2242 |
Bug report
Steps to reproduce
有两个md,一个是英文内容,一个是中文内容
What is expected?
md中有中文也能搜索
What is actually happening?
英文的能被搜索到,中文的不能被搜索到
Other relevant information
config.js
The text was updated successfully, but these errors were encountered: