Fuzzy search
Optional fuzzy matching for quick search tolerates typos and transpositions, governed by a threshold. Rows can optionally be ranked by match score. This helps users find records when they do not know the exact spelling.
Planned. This page shows the specification from issue #187. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A contacts grid with 10,000 names. Fuzzy search is on with threshold 0.7.
Expected behavior
Misspelled queries return the intended names. Lowering the threshold widens the results. Enabling sortByScore orders rows from best to worst match and temporarily overrides any user sort, with a visible notice.
Planned API surface
quickSearchParams.fuzzyquickSearchParams.fuzzyThresholdquickSearchParams.fuzzyMaxDistancequickSearchParams.sortByScoregetRowMatchScore(rowId)Acceptance criteria
- With fuzzy=false, behaviour is identical to F16. (pending)
- A row matches when its best token similarity is greater than or equal to fuzzyThreshold, computed with the documented algorithm. (pending)
- Single-character substitutions and transpositions within maxDistance match. (pending)
- sortByScore produces a stable order, with ties keeping the original order. (pending)
- Fuzzy search over 10k rows completes within the documented performance budget. (pending)