Closed unsolublesugar closed 3 months ago
Probably the same problem as this one (unresolved)
https://github.com/easyops-cn/docusaurus-search-local/issues/338
Thanks for the report! @Nekotora Maybe we can take a look into https://www.meilisearch.com/ mentioned as an alternative in the other issue?
Thanks for the report too. 🫡 The current local search plugin seems lack support for languages other than Chinese and English. And with the document content continues to grow, the local index files are also becoming larger. (about 2MB per language now :x )
It might be time to consider finding a search backend. I will take a closer look at Meilisearch and other solutions, Sorry for the late reply, I've been a little busy recently. I will deal with that soon.
@Nekotora Thanks for taking the time to take a look! If you ever need to check the Japanese environment to make sure it works, please give me a shout. ;)
Sorry for taking such a long time to fix it.🙇 The multi-language search results should be very smooth now.
I initially tried to fix local search with lunr.js or set up a self-hosted crawler, but soon open-source free application at https://docsearch.algolia.com/ just approved, so we use Algolia for now.
If you have any questions, just let me know!
@Nekotora Thanks for fixing this problem! I've checked in my environment and everything is working fine! :laughing:
Summary
Can't search for Hiragana and katakana keywords in Japanese.
If a keyword contains Kanji characters or English, it will appear in the search results for that keyword only.
Reference Information
cmfcmf/docusaurus-search-local , which is a fork of easyops-cn/docusaurus-search-local , has the following description in
tokenizerSeparator
, which may need to be addressed separately.The currently employed easyops-cn plugin is missing the corresponding option. Without seeing the details in action, it's hard to know how to respond.