# FlexSearch: 6.1 out of 10

Reasonable, with limits. 8th of 10 in [Search libraries and clients](https://elestia.ai/opensource/search/index.md).

FlexSearch is a fast full-text search library with no dependencies. It builds an in-memory index in the browser or in Node.js, with document indexes, workers and optional persistence. It is still among the fastest options for large client-side indexes. But no npm release has shipped since September 2025, one person maintains it, and its downloads grow more slowly than the category's. MiniSearch, Orama or Fuse.js are safer defaults for most new projects.

**Best for:** Sites and apps that need very fast prefix and full-text search over large in-memory indexes in the browser or Node.js, and do not need typo tolerance.

## Scores

- **Overall: 6.1** (likely 5.1 to 7.2)
  - Claude Opus 5.5 (5.5): It is among the fastest full-text libraries for in-app search, and it has no dependencies. But releases have stopped for over a year, there is one maintainer, 0.8 brought bugs that remain open, and it is losing share to MiniSearch, Orama and Pagefind. It is a reasonable pick when raw speed on large indexes matters most. For most new projects, a better-maintained peer is the safer choice.
  - GPT-6.2 Sol (6.7): FlexSearch is worth choosing when fast local full-text queries are central and its ranking works well on your data. Fuse.js is easier for simple fuzzy matching, and Pagefind is a better fit for large static sites that benefit from loading only parts of the index. The long release gap, workload-dependent results, and below-median adoption growth limit its appeal for new projects.
- **Needed by many: 5.4** (likely 4.3 to 6.5)
  - Claude Opus 5.5 (5.0): Many web apps, documentation sites and static sites need in-app search. Many others hand search to a server or a hosted service. FlexSearch serves the client-side, full-text part of the category, on both the browser and Node.js.
  - GPT-6.2 Sol (5.8): Search is a recurring need in content sites, catalogs, and apps that work offline. FlexSearch runs in browsers and Node.js across frameworks, with the best fit where an app can own its index. The available surveys give context on search infrastructure but leave demand for embedded search unmeasured.
- **Helps a lot: 7.0** (likely 5.9 to 8.0)
  - Claude Opus 5.5 (6.5): Its speed and memory options are top tier, and its feature set is wide: document indexes, tags, workers, persistence and highlighting. The 0.8 line added many features but also brought bugs in tags, limits, numeric search and tokenization. Its weak points are fuzzy matching, simple ranking, terse documentation and types that are partly wrong.
  - GPT-6.2 Sol (7.4): Version 0.8.212 has fast indexed queries, multi-field search, highlighting, and persistence adapters. In a benchmark by another search project, it led plain-query throughput, ranked below MiniSearch on relevance, and ran out of memory indexing 160,000 passages under an 8 GB heap limit. Bundled types and examples give coding agents a starting point, though older examples and multiple builds make version-specific details easy to miss. Reports of pagination and worker persistence bugs leave the score sensitive to the workload.
- **Holds up over time: 4.2** (likely 3.1 to 5.6)
  - Claude Opus 5.5 (4.0): The last npm version shipped in September 2025, the last push was in June 2026, and there were only 10 commits in the last year. The Scorecard gives Maintained a 0. One maintainer, who is not visibly funded, drives the project. Recent issues, including one about a high-severity advisory in the optional sqlite3 dependency, have no released fix. The repository is not archived, and the maintainer has returned before after long gaps.
  - GPT-6.2 Sol (4.4): FlexSearch had 10 commits and no published releases in the last year, while Fuse.js and Pagefind were far more active. The project describes itself as a spare-time effort that accepts donations, and recent GitHub releases show one publisher. A user reported changed search behavior after upgrading to 0.8, and the long wait for fixes to open issues makes future support hard to predict.
- **Used widely: 4.8** (likely 3.7 to 5.9)
  - Claude Opus 5.5 (5.0): It has 5.3M downloads per four weeks, 13.8K stars and 3,121 dependent repos. That is more dependent repos than MiniSearch, but far fewer than Fuse.js or Lunr. Some downloads come from documentation themes and plugins that bundle it. Its growth ratio of 2.8 is below the 4.1 median, so it is losing share, while MiniSearch, Orama and Pagefind grow much faster.
  - GPT-6.2 Sol (4.5): Four-week npm downloads rose from 1.90 million to 5.28 million, a 2.78× increase against the 4.1× catalog median, so FlexSearch is losing ground on that measure. The 3,121 tracked dependent repositories put it ahead of MiniSearch and well behind Fuse.js and Lunr. Its 13,827 stars and six recent Bluesky links show an established audience with modest recent discussion. Repeat installs and framework integrations inflate npm counts, while CDN use and incomplete repository coverage make direct adoption hard to estimate.
- **Vouched for: 6.1** (likely 5.1 to 7.4)
  - Claude Opus 5.5 (5.0): Static-site themes and documentation plugins use it, and independent comparisons consistently name it the fastest library for large indexes. Users on Bluesky and in blogs report good speed and results. No company publicly backs it, and it has no survey data. Some framework ecosystems have moved to Pagefind or MiniSearch.
  - GPT-6.2 Sol (7.2): Ghost pins the current release for site search, Quartz uses FlexSearch for full-text search, and Fumadocs provides a supported integration. Benchmarks from outside the project support its speed, with mixed results on relevance and memory. Most verified use is in site and documentation search, and State of JavaScript provides no FlexSearch satisfaction or retention figures.
- **Safe: 6.8** (likely 5.7 to 7.9)
  - Claude Opus 5.5 (7.0): It has no runtime dependencies, no known advisories and the Apache-2.0 licence. The Scorecard is weak at 4.9: code review, pinned dependencies and fuzzing are poor, and one person publishes releases. The optional persistence adapters can pull in packages such as sqlite3 that have their own advisories.
  - GPT-6.2 Sol (6.6): The core package has zero required runtime dependencies, a permissive Apache-2.0 license, and zero recorded OSV advisories. OpenSSF scores it 4.9, with weak code review and dependency pinning, and npm release provenance remains unclear. The optional SQLite adapter requires a separate driver install, and an open report flags a vulnerable transitive dependency in that setup. The security policy supports the 0.8 line, but the release gap leaves patch turnaround uncertain.

## Good

- Very fast queries over large in-memory indexes, with several tokenizer modes and result caching.
- No runtime dependencies, a small modular build, and support for workers and export/import of indexes.
- Document indexes with tags, highlighting and optional persistence adapters (IndexedDB, Redis, SQLite and others).
- Users say its results are better than Pagefind's for some static-site searches.

## Bad

- No npm release since September 2025, and only 10 commits in the last year from one maintainer.
- Moving from 0.7 to 0.8 broke code, and the bundled type definitions are not fully accurate.
- Weak typo tolerance and simple ranking compared with MiniSearch or Orama.
- Open bugs on tags, limits, highlighting and tokenization have no fixes released.

## The numbers

- Downloads, 4 weeks: 5.3M
- In a year: ×2.8
- GitHub stars: 14k
- Commits, 12 months: 10
- Last npm release: Sept 2025
- Advisories, 24 months: 0
- Licence: Apache-2.0
- GitHub: https://github.com/nextapps-de/flexsearch
- npm: https://www.npmjs.com/package/flexsearch

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
