Hi there - Firstly thank you for this search option. It's incredibly helpful.
This isn't an issue, I'm just looking for a little help/guidance. I need to adjust the stopwords for my project as we have two important methods called 'from' and 'to' which are currently not showing in the search.
I looked up stopwords on the lunr repo and the following solution seemed so simple, but I just can't get it to work.
Hi there - Firstly thank you for this search option. It's incredibly helpful.
This isn't an issue, I'm just looking for a little help/guidance. I need to adjust the stopwords for my project as we have two important methods called 'from' and 'to' which are currently not showing in the search.
I looked up stopwords on the lunr repo and the following solution seemed so simple, but I just can't get it to work.
https://github.com/olivernn/lunr.js/issues/201
index.pipeline.remove(lunr.stopWordFilter)
Alternatively you can generate your own stop word filter that is more specific to your use case:I assumed I could just pop it here in the lunr-search.js? But no luck. I've tried a few different ways and exhausted all the links I can find.
Any help would be hugely appreciated. Happy to swing you over a fee for assistance.
Thanks for reading.