
Algolia
Hosted search-as-a-service platform delivering real-time, full-text search for apps and websites
Discover top open-source software, updated regularly with real-world adoption signals.

Client-side full-text search library for fast, offline queries
Lunr.js provides a lightweight, browser‑based full‑text search engine that indexes JSON documents, supports multiple languages, field boosting, fuzzy matching, and works without server calls.

Lunr.js is a compact JavaScript library that brings full‑text search capabilities directly into the browser. It indexes JSON documents on the client, allowing instant retrieval of relevant results without any network latency. The library is designed for modern browsers and can be added via a script tag or npm package.
Ideal for static sites, single‑page applications, and offline‑first web apps, Lunr.js lets developers define searchable fields, boost terms or whole documents, and perform fuzzy queries with wildcards or edit distance. Because the index lives in memory, searches are instantaneous, and the same code runs in any environment that supports ES5 (or a shim). Deployment is as simple as including the script and building the index during page load.
While powerful for client‑side scenarios, Lunr.js is not suited for massive datasets that exceed browser memory limits, nor does it provide built‑in persistence. For larger scale needs, a server‑side search engine would be more appropriate.
When teams consider Lunr.js, these hosted platforms usually appear on the same shortlist.

Hosted search-as-a-service platform delivering real-time, full-text search for apps and websites

Managed search service to index and query text & structured data

AI-powered enterprise search service that indexes and searches across various content repositories with natural language queries
Looking for a hosted option? These are the services engineering teams benchmark against before choosing open source.
Documentation site search
Visitors locate API pages instantly without server queries
E‑commerce product catalog
Customers filter products client‑side, reducing server load
Blog archive
Readers perform fuzzy searches across posts even when offline
Educational app
Students search lesson content locally, ensuring access without internet
It works well for small to medium client datasets but is not designed for large, scalable search workloads.
You define fields and add JSON documents via the provided API; the library builds an in‑memory inverted index.
No built‑in persistence; you must serialize and store the index yourself if needed.
All modern browsers; older browsers need an ES5 shim such as Augment.js or ES5‑Shim.
Yes, it is released under the MIT license.
Project at a glance
DormantLast synced 4 days ago