Overview of MiniSearch architecture and use cases
masterMiniSearch is designed for providing rich full-text search functionalities in local setups (e.g., client-side in the browser).
Core Goals:
- Small memory footprint for the index.
- Fast document indexing.
- Versatile and performant search features.
- Simple API surface.
- Support for adding/removing documents at any time.
Ideal Use Cases:
- Client-side search in web applications.
- Small to medium-sized datasets where memory is constrained.
Not Recommended For:
- Large index data structures that exceed local memory.
- Distributed setups requiring synchronized nodes.
- Scenarios requiring built-in, opinionated locale support (stemmers, stopwords, etc.). MiniSearch provides the building blocks for you to implement these yourself.