Closed ghost closed 7 years ago
this.index = lunr(function(){ this.field('title', { boost: 10 }); this.field('content'); `});
this.index.add(doc); //failed with "this.index.add is not a function"
Seems like this feature is no longer available : https://lunrjs.com/guides/upgrading.html
got it. Thank you very much.
this.index.add(doc); //failed with "this.index.add is not a function"