nextapps-de

flexsearch: Fast Full-Text Search for Browser and Node.js

FlexSearch is a JavaScript full-text search library for Browser and Node.js, designed for fast queries with partial and fuzzy matching. It supports flat indexes, multi-field document search, workers, and persistent storage.

QuietJavaScriptApache-2.0LibrarySearchFull Text Search
View on GitHub Compare
Stars
13.8k
Forks
527
Stars, last 30 days
+13
Last commit
4 months ago
Contributors
40

Our take

Quietno commits in the last 90 days and no release in a year

Health score

27/100

How it is scored
Activity
19
Community
47
Issues
21
Pull requests
20

+13 stars in the last 30 days

FlexSearch is a feature-rich fit for JavaScript applications that need configurable in-process search, but its quiet release and contribution pattern calls for extra maintenance diligence.

Good fit if

  • You want browser and Node.js search with partial matching, fuzzy options, and document indexing in one library.
  • You can choose and tune index options to balance matching behavior, storage, and memory use.
  • Apache-2.0 licensing and optional database-backed persistence fit your project.

Look elsewhere if

  • Your adoption depends on recent releases or frequent upstream issue and pull-request handling, since the project is marked quiet with no recent commits or releases.
  • You need a project with broadly distributed maintainer ownership, since most contributions are concentrated in one person.
  • You need a managed, full search service rather than a JavaScript library and its optional storage adapters.
All health signals
Last commit2026-06-28 (4 months ago)
Commits, last 90 days0
Releases, last 12 months0 (latest 0.8.2, 2025-05-21)
Contributors40 (top contributor: 84% of commits)
Issues closed, last 90 days0
Pull requests merged, last 90 days0
Project age8 years

Checked on 2026-10-15 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

13,820

Forks

527

Change since Nov 16, 2026: 0 stars·0 forks

Overview

FlexSearch is a JavaScript full-text search library for Browser and Node.js. It indexes text in memory by default and provides search without requiring a separate search service, with options for partial matching, fuzzy queries, and relevance scoring.

Use a flat index for ID-and-text pairs or a document index for multi-field JSON records. Workers can run indexing and queries in the background, while optional persistent adapters connect indexes to browser storage or databases. The library also offers browser and Node.js builds, including ESM and CommonJS options.

Key Features

  • Flat indexes for adding, searching, updating, and removing text by ID.
  • Document indexes for searching across multiple fields in structured records.
  • Configurable tokenization for exact terms, prefixes, bidirectional partial matches, or typo tolerance.
  • Encoders and language presets for normalization and phonetic matching across multiple writing systems.
  • Worker-based indexes and asynchronous methods for background or non-blocking work.
  • Optional persistent indexes with adapters for IndexedDB, Redis, SQLite, Postgres, MongoDB, and ClickHouse.
  • Search suggestions, tag search, result highlighting, and a resolver for combining query conditions.

Use Cases

  • Add instant search to a browser or Node.js application without operating a separate search service.
  • Search documentation or product catalogs across multiple fields, with suggestions for incomplete queries.
  • Build typo-tolerant name or text lookup using configurable encoders and tokenization.
  • Move indexing work off the main thread in browser applications or into worker threads in Node.js.
  • Persist a large index through a supported database adapter when an in-memory index is not sufficient.

What you need

Detected in the repository

  • Node.js (from package.json)
  • A Compose file to run it with its related services
  • A test suite and automated checks on GitHub Actions

License in plain words

Apache-2.0permissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the license, the NOTICE file and a note of your changes
  • Share your changes: no
  • Includes an explicit patent grant from the contributors:

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Install from npm:

npm install flexsearch

See the README for setup examples, build options, and API details.

Considerations

The measured project status is quiet: there have been no commits in the last 90 days and no release in over a year. Although the repository has multiple contributors, most of the code comes from one person, so teams should assess their reliance on upstream maintenance. Tokenization and encoding choices affect both matching behavior and index size; the README recommends selecting them according to the use case. Persistent storage is optional and requires a compatible adapter and database when used. The project is licensed under Apache-2.0, so review its terms for your distribution and use.

Found this useful?

Share it with someone who would like flexsearch.

Comparisons