A lightweight JavaScript full-text search engine for browser and offline search, offering query-time boosting and field search.
Elasticlunr.js is a lightweight, JavaScript-based full-text search engine designed for browser and offline search. It solves the need for simple, efficient search functionality without deploying complex backends like Elasticsearch, making it suitable for static websites, offline documents, and low-traffic Node.js applications.
Developers building static websites, offline applications, or simple Node.js systems that require client-side or lightweight server-side search without heavy infrastructure.
Developers choose Elasticlunr.js for its balance of flexibility and simplicity, offering features like query-time boosting and field search in a small, fast package that outperforms Lunr.js in speed and index size.
Based on lunr.js, but more flexible and customized.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows boosting search fields at query time without rebuilding the index, enabling dynamic tuning as shown in the configuration examples.
Supports indexing and searching on specific document fields with configurable options, improving search precision and control.
Optimized by removing unnecessary vector computations, significantly speeding up searches and reducing index size, as noted in comparisons with Lunr.js.
Integrates Boolean, TF/IDF, and Vector Space models for reliable ranking, similar to Elasticsearch's approach, enhancing result accuracy.
The author is seeking new maintainers, indicating risks for long-term updates, bug fixes, and community-driven development.
When original JSON documents are not stored to reduce index size, updating or deleting documents becomes cumbersome, as admitted in the README.
Lacks advanced search capabilities like faceted filtering, synonyms, or natural language processing found in full-scale engines like Elasticsearch.
Elasticlunr is an open-source alternative to the following products:
Solr is an open-source enterprise search platform built on Apache Lucene, providing full-text search, hit highlighting, faceted search, and real-time indexing.
Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases, built on Apache Lucene.