Wiredcraft / lunr-chinese

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

is compatible with gatsby-plugin-lunr #5

Open wulucxy opened 5 years ago

wulucxy commented 5 years ago

Hi,@ole3021。

I wanna to use gatsby-plugin-lunr in my project。so can you check how this is compatible with gatsby-plugin-lunr。

can I just replace

const lunr = require("lunr");

to

const lunr = require("lunr-chinese");

or these is still something else to remind?

ole3021 commented 5 years ago

Not sure about this.

for the lunr-chinese, i did the following changes

so if is compatible with gatsby-plugin-lunr need to test out. Personally, I guess it is not as I keep an older version lunr instead of the latest one to support Chinese characters.

and I'm busy with my daily works, as this not a requirement from the company, i may not spent time on this, sorry about that.

but i love to help if you got any issues when you try out to make this happen. : )