Lunr.js
JavaScript-only client-side search. The original Pagefind, now mostly superseded.
VISIT LUNR.JSQuick facts
- CategoryEmbedded / static
- EngineJavaScript
- PricingOpen source
- LicenseMIT
- Created2013
- GitHub stars9k
- Vector supportNo
- Edge-readyYes
What it is
Lunr.js is a small full-text search library for the browser, modelled on Solr. Pre-Pagefind era — works but the index ships as JSON which gets large fast. Maintained but feature pace has slowed.
Best for
- Existing Lunr deployments — stable
- Tiny static sites with under ~500 pages where Pagefind feels like overkill
When not to pick it
For new projects in 2026, Pagefind is a better default — smaller index, faster query, better DX.
My take
Pre-Pagefind era. Lunr is fine for the legacy use case but new projects should pick Pagefind.
Links
Similar tools you should also consider
If Lunr.js is your pick — the next conversation is short
The 30-min call is where your search choice becomes a real architecture, a relevance-tuning plan, and a price range you can take to your stakeholders.