# lithammer/fuzzysearch

:pig: Tiny and fast fuzzy search in Go

Repository: https://github.com/lithammer/fuzzysearch
Canonical: https://ross.abutalabs.com/products/lithammer-fuzzysearch
Homepage: https://pkg.go.dev/github.com/lithammer/fuzzysearch
Language: Go
License: MIT
License Family: permissive
Topics: fuzzy-search, go, algorithm
Last push: 2026-08-01T05:51:49+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 8, longevity 100
- inputs: {"age_days": 4061, "days_push": 32, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1323, forks 68 (observed 2026-08-28T04:04:22.236933+00:00)

## What it is
A tiny and fast fuzzy string matching library for Go, inspired by bevacqua/fuzzysearch. It supports matching, ranking via Levenshtein distance, finding matches in word lists, and Unicode-normalized and case-insensitive matching.

## Use cases
- fuzzy match a string against partial user input in Go
- filter a list of words by fuzzy query
- rank fuzzy matches by Levenshtein distance
- case-insensitive fuzzy string matching
- unicode-normalized fuzzy matching for accented text
- build autocomplete or quick-filter features

## When to choose
- you need lightweight, dependency-free fuzzy matching in a Go program
- you want fast subsequence matching plus ranking for filtering lists
- you need Unicode normalization or case folding in matches

## When to avoid
- you need full-text or relevance-scored search over large corpora (use a search engine like Bleve)
- you need edit-distance-only matching without subsequence semantics
- your project is not in Go

## Facets
- artifact type: library
- maturity: stable
- function: search-engine, parser
- domain: developer-tools
- platform: go, cross-platform
- tags: fuzzy-matching, levenshtein-distance, string-matching, unicode-normalization, ranking, search, algorithms

## Member repositories
- lithammer/fuzzysearch (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:22.236933+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:47:05.341960+00:00, confidence not recorded.
  - readme: https://github.com/lithammer/fuzzysearch (fetched 2026-08-28T04:04:22.236933+00:00, sha 7bdaa531283f)
  - homepage: https://pkg.go.dev/github.com/lithammer/fuzzysearch (fetched 2026-08-29T12:05:53.015015+00:00, sha 0984bd1f6642)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T12:05:53.024183+00:00, sha 757852027879)
  - site_page: https://go.dev/project (fetched 2026-08-29T12:05:53.026525+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
