Wiredcraft / lunr-chinese

Lunr.js support library for Chinese
MIT License
38 stars 10 forks source link

Update to newer version of Lunr #2

Closed Trolleymusic closed 6 years ago

Trolleymusic commented 6 years ago

Hello, do you have any plans to update this to a newer version of Lunr?

ole3021 commented 6 years ago

@Trolleymusic Not for now, the reason is the most changes of Lunr v2 is about the tokenize method, which improves the performance for English, but it does not work for Chinese. So for Chinese the Lunr v0.7.2 is the most suitable version.

ole3021 commented 6 years ago

I updated the reason in README, and please let me know if you have found any bugs that during use lunr-chinese, and I will try to fix it.