A small, full-text search library for .NET Core, ported from lunr.js, ideal for lightweight applications.
Lunr-core is a small, full-text search library for .NET Core, ported from the JavaScript library lunr.js. It indexes documents and provides a simple search interface for retrieving documents that best match text queries, designed for lightweight applications that don't require the overhead of larger search engines like Solr or Lucene.
.NET developers building small to medium applications that need integrated, efficient full-text search capabilities without external dependencies.
Developers choose Lunr-core for its simplicity, minimal dependencies, and full compatibility with lunr.js, enabling seamless client-server search scenarios and easy integration into existing .NET projects.
Lunr-core is a small, full text search library for use in small applications. It's a .NET port of LUNR.js.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
100% compatible with lunr.js, enabling seamless sharing of indexes between server and client, as stated in the README, which simplifies hybrid search scenarios.
Requires only .NET SDK, BCL AsyncInterfaces, and System.Text.Json, reducing project bloat and making integration straightforward in small .NET applications.
Uses a clear builder pattern for indexing and async search, as shown in the example code, lowering the barrier to entry for developers.
Includes wildcards and edit distance for handling typos or partial matches, improving search accuracy based on features listed in the README.
The README's TODO list explicitly states that multilingual support is not yet implemented, limiting its use in international applications without custom work.
Documentation is adapted from lunr.js and marked as 'up for grabs,' indicating potential gaps or lack of tailored .NET examples, which could slow adoption.
Designed for small applications, so it may struggle with performance on large datasets or high concurrent search requests, as implied by its lightweight philosophy.
Lunr-Core 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.
Lucene is a high-performance, open-source search library written in Java that provides full-text indexing and searching capabilities for applications.