Open mustapha-wang opened 7 months ago
very strange,my docs have so many words "database",but,use lunr.zh.js,search 'database' found nothing. If I use default english to index, search 'database" got many items.
let lunr=require('lunr'); require("lunr-languages/lunr.stemmer.support.js")(lunr); require('lunr-languages/lunr.multi.js')(lunr); require("lunr-languages/lunr.zh.js")(lunr); let lunr_lng=lunr.multiLanguage('zh','en');
let idx=lunr(function(){ let self=this; this.use(lunr_lng);
If I use multi-language en and zh,still can`t searched 'database'.
let lunr=require('lunr'); require("lunr-languages/lunr.stemmer.support.js")(lunr); require('lunr-languages/lunr.multi.js')(lunr); require("lunr-languages/lunr.zh.js")(lunr); let lunr_lng=lunr.multiLanguage('en','zh');
let idx=lunr(function(){ let self=this; this.use(lunr_lng);
If I use multi-language en and zh,I can searched 'database'.But can`t search any chinese key words.
search 'mysql' can found many items,but search 'database' found nothing.