πŸ”Ž Your users deserve searching capabilities!

πŸ”Ž Your users deserve searching capabilities!

2025, Apr 04    

So your site is growing larger and larger and so it becomes harder and harder to find anything you wrote more than a few weeks ago. And that is frustrating.

Words vanish, writing remains

Yes…​ But if it remains buried deep in a pile of posts, it won’t be of any use to any one.

It seems you need to add a search engine to your site.

But…​ you choose static generation for a reason, right ? Economy of resources, matters to you. And so you don’t want to add a full-blown search engine like ElasticSearch or Solr.

And guess what ? We couldn’t agree more with you 🀩. We think you are perfectly right, and that people should listen to you more. At least that’s what we do. πŸ‘‚

So we did a bit of research and found out exactly what you need :

Lunr.js, it’s a small, full-text search engine written in JavaScript. It runs in the browser based on a static generated json index and don’t need any other third party services ✨.

Tadddaaah! We wrote a Lunr.js plugin for Roq.

Search

πŸ‘‰ Full documentation is available here, don’t wait any longer, go check it out.