timwis / jkan

A lightweight, backend-free open data portal, powered by Jekyll
https://jkan.io
MIT License
219 stars 309 forks source link

Consider replacing search with Lunr #225

Open timwis opened 1 year ago

timwis commented 1 year ago

I came across a docosaurus-built documentation website with client-side site search, and looked into what powered it. Apparently it's a library called Lunr. Thought it might be worth looking into switching to that library. I've not heard any complaints about the current JKAN search, but it's pretty basic, and Lunr may offer the ability to improve search accuracy (e.g. by adding synonyms), hopefully without too much overhead. Just a thought in case anyone would like to have a go.