# FlexSearch

Configurable full\-text search library with field indexes, workers and persistent storage adapters\.

ID: Q1089 · Revision: 1137

Type: software · License: Apache\-2\.0[^license] · Status: active

Website: https://github.com/nextapps-de/flexsearch



FlexSearch is an open\-source search library for browser and Node\.js applications\. It offers simple text indexes, structured document search and optional worker or persistent\-storage configurations\. Applications choose how to encode content, which fields to index and how to present results rather than receiving a complete hosted search service\.[^repo][^document]

## Capabilities and substitutions

### Structured document search — supported

Indexes selected fields with optional stored\-document enrichment and result merging\.[^document]

Use case: Embedding indexed text search in browser and Node\.js applications · Platforms: Web, JavaScript, TypeScript, Node\.js · Region: Version, build and integration requirements apply

### Persistent index storage — supported

Adapters include IndexedDB and server databases; initialization and commit timing require asynchronous handling\.[^persistent]

Use case: Embedding indexed text search in browser and Node\.js applications · Platforms: Web, JavaScript, TypeScript, Node\.js · Region: Version, build and integration requirements apply

### Worker integration — limited

Worker methods return promises; custom functions need external configuration and strict CSP may require non\-bundled workers\.[^worker]

Use case: Embedding indexed text search in browser and Node\.js applications · Platforms: Web, JavaScript, TypeScript, Node\.js · Region: Version, build and integration requirements apply

### Automatic migration tooling — unsupported

The inspected persistent\-index guide states that no migration tool is provided\.[^persistent]

Use case: Embedding indexed text search in browser and Node\.js applications · Platforms: Web, JavaScript, TypeScript, Node\.js · Region: Version, build and integration requirements apply

### [Substitute for Fuse\.js](/fusejs) — limited

Can replace local record search when field indexes and configurable storage fit better; matching, result shape and index formats differ\.[^document][^fuse]

Use case: Embedding indexed text search in browser and Node\.js applications · Platforms: Web, JavaScript, TypeScript, Node\.js · Region: Version, build and integration requirements apply

## References

[^repo]: [FlexSearch overview](<https://github.com/nextapps-de/flexsearch>) — Browser/Node library, worker and persistent index options (vendor; retrieved 2026-10-07T23:40:39Z)

[^document]: [Document search](<https://github.com/nextapps-de/flexsearch/blob/master/doc/document-search.md>) — Descriptor, result shape, storage, count and sequential\-data limitations (vendor; retrieved 2026-10-07T23:41:28Z)

[^encoder]: [Encoder guide](<https://github.com/nextapps-de/flexsearch/blob/master/doc/encoder.md>) — Default normalization, deduplication and alphanumeric filtering (vendor; retrieved 2026-10-07T23:41:39Z)

[^worker]: [Worker parallelism](<https://github.com/nextapps-de/flexsearch/blob/master/doc/worker.md>) — Promise methods, custom configuration files and CSP (vendor; retrieved 2026-10-07T23:41:39Z)

[^persistent]: [Persistent indexes](<https://github.com/nextapps-de/flexsearch/blob/master/doc/persistent.md>) — Adapters, async commit and destructive clear/destroy operations (vendor; retrieved 2026-10-07T23:41:21Z)

[^license]: [FlexSearch Apache license](<https://github.com/nextapps-de/flexsearch/blob/master/LICENSE>) — Apache 2\.0 terms (vendor; retrieved 2026-10-07T23:41:11Z)

[^fuse]: [Fuse\.js getting started](<https://www.fusejs.io/getting-started.html>) — Collection\-based fuzzy lookup (vendor; retrieved 2026-10-07T23:41:02Z)

Source revision: https://substitutefor.net/entities/Q1089?revision=1137
