bevacqua/horsey

Wrong suggestions ?

uri-chandler opened this issue · 2 comments

Why am getting 'Bananas' and 'Oranges' suggested when I enter the text "ornfs" ?
(the input text is just an experiment, I'm getting weird results on similar text while trying out the examples on the site)

EDIT: This only seems to happen when "key:value" is used. For "array of strings" suggestions are OK.

image

*I'm actually very impressed with this library. Looking forward to see how to fix this issue

Because of fuzzy searching. All those letters are found, in order, in the results

https://github.com/bevacqua/horsey#filter

Oh! I completely missed that (sorry!)
That's even better (;

Thx!