fuzzy_search_engine 1.0.1 copy "fuzzy_search_engine: ^1.0.1" to clipboard
fuzzy_search_engine: ^1.0.1 copied to clipboard

Fast and lightweight search engine for Dart/Flutter with fuzzy search capabilities — lightweight and flexible.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.1 - 2025-08-08 #

Added #

  • Optional debug logging hook: SearchConfig.debugLogger (works with Flutter debugPrint).
  • Token-aware fuzzy matching (split by whitespace) with fallback to full-field check.

Changed #

  • Optimized Levenshtein distance implementation to two-row DP (lower memory usage).
  • getItemById now uses a simple linear scan instead of exception-driven firstWhere.

Fixed #

  • Safe toString() for SearchableItem when icon is null/empty.
  • Correct hashCode handling for nullable fields in SearchableItem.
  • Correct library name: library fuzzy_search_engine;.
  • README and example imports updated; examples show debugLogger usage.

1.0.0 - 2025-08-08 #

Added #

  • Initial release of a fast and lightweight fuzzy search engine for Dart/Flutter.
  • Four-level relevance: exact, starts-with, contains, fuzzy (for queries ≥ 3 chars).
  • Configurable fields: name, subtitle, searchData.
  • Zero dependencies (pure Dart), utility methods: sorting and getItemById.
1
likes
160
points
33
downloads

Publisher

verified publisherworldin.net

Weekly Downloads

Fast and lightweight search engine for Dart/Flutter with fuzzy search capabilities — lightweight and flexible.

Repository (GitHub)
View/report issues

Topics

#search #fuzzy-search #engine #items #filtering

Documentation

Documentation
API reference

License

MIT (license)

More

Packages that depend on fuzzy_search_engine