Skip to content
pubscout

fuzzy_bolt

2.0.2, released a year ago by vishwakarthik.in

High-performance fuzzy search algorithm with typo tolerance and Porter stemming.

$ flutter pub add fuzzy_bolt
Source repository

What it does

Performs fuzzy searching on Dart datasets using Jaro-Winkler distance, Levenshtein distance, and Porter stemming. It supports automatic parallel processing via isolates for large datasets and includes dataset cleaning utilities.

AI-written summary of version 2.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need auto-suggestions or search bars with typo tolerance.
  • You are querying local datasets, offline-first databases, or in-memory state.
  • You need text stemming and stop-word removal for search queries.

Skip it when

  • You require a full-text search engine with indexing for massive remote databases.
  • You need complex relational querying rather than text similarity.

Strengths

  • Built-in typo correction using Levenshtein distance.
  • Automatic isolate usage for performance with large datasets (>1000 items).
  • Includes text processing like Porter stemming and dataset cleaners.

Weaknesses

  • Isolates do not work natively on web platforms, requiring manual configuration flags.
  • In-memory searching may consume significant memory for very large datasets.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1

Not documented

import 'package:fuzzy_bolt/fuzzy_bolt.dart';

final results = await FuzzyBolt.search<User>(
  users,
  'Alise',
  selectors: [(u) => u.name],
);

Alternatives

Packages that do the same job and could replace fuzzy_bolt.