# MiniSearch

[BASE product page](<https://base.akulich.dev/en/library/minisearch/>) · [Resource](<https://github.com/lucaong/minisearch>)

ID: minisearch · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A small JavaScript full\-text engine: indexes local documents and provides search, ranking, and suggestions in the interface\.

## Type

Web framework / library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/minisearch/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/minisearch/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/minisearch/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/minisearch/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/minisearch/#resource-tasks>)

- Index documents for browser search
- Connect search/suggestions to input and result displays

## Category IDs

- frontend

## Subcategory IDs

- frontend\.utilities

## Tags

- MiniSearch
- web
- Development

## Also known as

- lucaong/minisearch
- mini\-search
- javascript\-search\-engine

## [Selection purpose](<https://base.akulich.dev/en/library/minisearch/#resource-selection>)

Index documents for browser search

## [Choose this when](<https://base.akulich.dev/en/library/minisearch/#resource-selection>)

- Index documents for browser search
- Connect search/suggestions to input and result displays

## [Requirements](<https://base.akulich.dev/en/library/minisearch/#resource-selection>)

- The dataset and index must fit in the available memory; define fields/storeFields\.

## [Limitations](<https://base.akulich.dev/en/library/minisearch/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- Without a custom processTerm, morphological stemming and stop\-word filtering are not added automatically\.

## [Questions before use](<https://base.akulich.dev/en/library/minisearch/#resource-faq>)

### What can you use for free in MiniSearch?

Code and local use under MIT\.

### What additional costs might arise with MiniSearch?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for MiniSearch?

MIT for the code; dependencies have separate licenses\.

### How do you get started with MiniSearch?

Describe document fields and build a local index\. Connect search/suggestions to input and result displays\. Add real data and error handling; check the production build\.

### How does MiniSearch index fields and process words by default?

fields defines indexed text, while storeFields defines fields returned with results; extractField retrieves nested values\. Prefix/fuzzy matching, field boosts, and filters apply to search and autoSuggest\. The default tokenizer splits on Unicode spaces/punctuation, and processTerm lowercases terms without stemming or a stop\-word list\. tokenize/processTerm can be configured separately for indexing and queries\.

## Sources for the selection guide

- [https://github\.com/lucaong/minisearch](<https://github.com/lucaong/minisearch>)
- [https://raw\.githubusercontent\.com/lucaong/minisearch/HEAD/README\.md](<https://raw.githubusercontent.com/lucaong/minisearch/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/lucaong/minisearch/HEAD/LICENSE\.txt](<https://raw.githubusercontent.com/lucaong/minisearch/HEAD/LICENSE.txt>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/minisearch/#resource-scenario>)

Index documents for browser search\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Web application source code and the intended workflow\.
- The project's framework and runtime version\.

## Steps

1. Describe document fields and build a local index\.
2. Connect search/suggestions to input and result displays\.
3. Add real data and error handling; check the production build\.

## Check your result

- The workflow works after a page refresh and with invalid data\.
- The bundle, server rendering, and supported browsers suit the project\.

## [License](<https://base.akulich.dev/en/library/minisearch/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/minisearch/#resource-sources>)

- [Official source](<https://github.com/lucaong/minisearch>)
- [Official source](<https://raw.githubusercontent.com/lucaong/minisearch/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/lucaong/minisearch/HEAD/LICENSE.txt>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
