You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking about this more, I think I generally want a prefix match — i.e. if the use has typed "war", I want to match "war", "warfare", "warlord", but not "award", and not "a". This isn't quite ^war because I'd still like some fuzziness , and I want to apply it automatically to searches (although I guess I could just turn on extended search and paste "^" to the front of the search string).
Same underlying bug. Shipped a fix in v7.4.0-beta.6 (npm install fuse.js@beta), with a bonus ~15% perf win on includeMatches queries. Cross-linking from #792 where I posted the diagnosis and the residual behavior.
Activity
krisk commentedon Oct 30, 2020
"a" is indeed matching (since the pattern is "war"). One way to omit single character matches is to set
minMatchCharLengthto a value > 1.hadley commentedon Oct 30, 2020
In that case, this is probably a duplicate of #504, because it surprises me that the match can be shorter than the search term.
hadley commentedon Oct 30, 2020
Thinking about this more, I think I generally want a prefix match — i.e. if the use has typed "war", I want to match "war", "warfare", "warlord", but not "award", and not "a". This isn't quite
^warbecause I'd still like some fuzziness , and I want to apply it automatically to searches (although I guess I could just turn on extended search and paste "^" to the front of the search string).github-actions commentedon Nov 30, 2020
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
krisk commentedon May 14, 2026
Same underlying bug. Shipped a fix in
v7.4.0-beta.6(npm install fuse.js@beta), with a bonus ~15% perf win onincludeMatchesqueries. Cross-linking from #792 where I posted the diagnosis and the residual behavior.