pg_fuzzysearch
pg_fuzzysearch · Subsequence fuzzy matching and prepared targets compatible with fuzzysort.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102325 | pg_fuzzysearch | pg_fuzzysearch | 0.2.0 | FTS | C |
PostgreSQL · 17
Usage
Sources:
pg_fuzzysearch 0.2.0 implements fuzzysort-style subsequence matching and prepared fuzzy targets.
Core Workflow
fuzzy_prepare returns a fuzzy_target reusable in generated columns. fuzzy_match can apply a minimum score; fuzzy_score returns NULL for no match and zero for an empty query. Normalization helpers expose the same Unicode normalization used by matching.
Operational Boundaries
PostgreSQL 17 and UTF-8 databases only. Matching is based on subsequences, not edit distance. The extension provides scan functions rather than an index access method; prepared targets add storage and need workload-specific measurement. The project’s own license is not explicit in the reviewed source, although its fuzzysort dependency is identified as MIT.