timwis / jkan

A lightweight, backend-free open data portal, powered by Jekyll

Home Page:https://jkan.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider replacing search with Lunr

timwis opened this issue · comments

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.