Current fuzzy search implementation does not consider query characters' order.
For example, when the entries are "abc", "cba" and the query is "abc", the current implementation returns both of "abc" and "cba" as search results.
I think this behavior is not the best.
In such cases, returning only "abc" is better for users.
And many other fuzzy searchers (like fzf) returns only "abc" in this case.
Current fuzzy search implementation does not consider query characters' order. For example, when the entries are
"abc", "cba"
and the query is"abc"
, the current implementation returns both of"abc"
and"cba"
as search results.I think this behavior is not the best. In such cases, returning only
"abc"
is better for users. And many other fuzzy searchers (likefzf
) returns only"abc"
in this case.