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

Search CJK text #24

Closed
arcqiufeng opened this issue Nov 14, 2022 · 4 comments
Closed

Search CJK text #24

arcqiufeng opened this issue Nov 14, 2022 · 4 comments

Comments

@arcqiufeng
Copy link

arcqiufeng commented Nov 14, 2022

I tried this plugin and it worked.

But I found it cannot get all results. Sometimes it get nothing, although the words to search do exsit in the markdown file.

Is it because of searching for Chinese in the Chinese document?

@Whbbit1999
Copy link

You can see #11 .You can try to install flexsearch in your project.
It's work in my project

@arcqiufeng
Copy link
Author

You can see #11 .You can try to install flexsearch in your project. It's work in my project

Thanks, your suggestion solved my problem.

非常感谢。

@Whbbit1999
Copy link

不过这样改了后有一个3M左右的文件会在网站开始的时候加载

@arcqiufeng
Copy link
Author

不过这样改了后有一个3M左右的文件会在网站开始的时候加载

你这还只有3M,我弄了之后,这个索引文件有80M+。好在是内部局域网,网速不是问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants