# search-index

JavaScript full-text search library for the browser and Node.js that keeps its index in a persistent key-value store.


Source: https://findsoftware.frbit.cloud/search-index/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- home: https://fergiemcdowall.github.io/search-index/
- repository: https://github.com/fergiemcdowall/search-index
- docs: https://github.com/fergiemcdowall/search-index/blob/v6.0.2/docs/API.md

### Identity

- status: active
- maintainer: Fergus McDowall
- maintainerType: individual
- parent: unknown
- firstRelease: 2017
- hqCountry: unknown

### Kind

- category: search
- hosting: node
- language: javascript
- runtime: node
- runtimeMin: node 22
- basedOn: unknown

### Content

- contentStore: database
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: browser
- renderingModes: not applicable
- installMethod: npm package import

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 6
- latestReleaseDate: 2026-08-14

### Adoption

- githubStargazers: 1423
- packagistDownloads: not applicable
- npmWeeklyDownloads: 39197
- contributors: 39
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 129
- dependentPackages: 36

### Sources

- urls: https://fergiemcdowall.github.io/search-index/ (read 2026-10-28)
- urls: https://github.com/fergiemcdowall/search-index/blob/v6.0.2/docs/API.md (read 2026-10-28)
- urls: https://api.github.com/repos/fergiemcdowall/search-index (read 2026-10-28)
- maintainer: https://github.com/fergiemcdowall/search-index/blob/master/LICENSE (read 2026-10-28)
- firstRelease: https://api.github.com/repos/fergiemcdowall/search-index/releases (read 2026-10-28)
- language: https://api.github.com/repos/fergiemcdowall/search-index (read 2026-10-28)
- runtime: https://github.com/fergiemcdowall/search-index/blob/v6.0.2/docs/API.md (read 2026-10-28)
- runtimeMin: https://github.com/fergiemcdowall/search-index/blob/v6.0.2/package.json (read 2026-10-28)
- category: https://github.com/fergiemcdowall/search-index/blob/master/README.md (read 2026-10-28)
- installMethod: https://github.com/fergiemcdowall/search-index/blob/v6.0.2/docs/API.md (read 2026-10-28)
- installMethod: https://github.com/fergiemcdowall/search-index/blob/v6.0.2/docs/FAQ.md (read 2026-10-28)
- runsAs: https://github.com/fergiemcdowall/search-index/blob/v6.0.2/docs/API.md (read 2026-10-28)
- contentStore: https://github.com/fergiemcdowall/search-index/blob/v6.0.2/docs/API.md (read 2026-10-28)
- license: https://github.com/fergiemcdowall/search-index/blob/v6.0.2/package.json (read 2026-10-28)
- licenseModel: https://github.com/fergiemcdowall/search-index/blob/master/LICENSE (read 2026-10-28)
- currentMajor: https://github.com/fergiemcdowall/search-index/blob/v6.0.2/package.json (read 2026-10-28)
- latestReleaseDate: https://api.github.com/repos/fergiemcdowall/search-index/releases (read 2026-10-28)
- githubStargazers: https://api.github.com/repos/fergiemcdowall/search-index (read 2026-10-28)
- contributors: https://api.github.com/repos/fergiemcdowall/search-index/contributors?per_page=1 (read 2026-10-28)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-09-28:2026-10-04/search-index (read 2026-10-28)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/search-index (read 2026-10-28)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/search-index (read 2026-10-28)

## Notes

search-index is a JavaScript full-text search library that runs in the browser and in Node.js. An index is opened with a `SearchIndex` constructor, documents are added with `PUT`, and results come back from `QUERY`. The index is kept in a persistent store: IndexedDB in a browser and LevelDB in Node.js by default.

The store can be swapped through the `db` option for any abstract-level compatible backend, such as the in-memory store or a backend for Redis or Postgres. The FAQ shows the library loaded with a script tag from its built file.

## Worth knowing

In a browser the index lives in that browser's own IndexedDB storage, so an index belongs to the browser it was built in.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
