A small, client-side full-text search library for JavaScript that indexes JSON documents.
Lunr.js is a small, full-text search library that runs in the browser, indexing JSON documents and enabling fast, local search queries. It solves the need for searching client-side data without relying on server-side services, reducing network overhead and supporting offline functionality.
Frontend developers building web applications with client-side data that require search capabilities, such as documentation sites, single-page apps, or offline-first tools.
Developers choose Lunr.js for its simplicity, zero-server dependency, and lightweight footprint, offering a performant search experience directly in the browser with features like fuzzy matching and multi-language support.
A bit like Solr, but much smaller and not as bright
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Runs entirely in the browser, eliminating network latency and enabling offline search, as emphasized in the README's philosophy of reducing server overhead.
Provides full-text search for 14 languages, making it versatile for international web applications without additional configuration.
Allows query-time boosting and field-scoped searches, giving developers precise control over search results based on the documented features.
Includes wildcards and edit distance matching, enabling flexible term searches to handle typos or variations, as noted in the features list.
Requires all searchable data to be pre-loaded as JSON in the browser, which can lead to high memory usage and slow initial loads for large datasets, limiting scalability.
Cannot generate search results on the server, making it unsuitable for SEO-critical applications or server-rendered sites that need pre-rendered content.
The README mentions that browsers without ES5 support require shims like Augment.js, adding setup overhead and maintenance for older environments.
lunr is an open-source alternative to the following products: