fuzzy-search
fuzzy-search copied to clipboard
Prefix match is ranked lower than expected
Following the HN article, quickly tried the demo on the places set but came up with weird results:
How come a result that doesn't match the input string gets a better quality score than the one that includes the entry ? And how come another one not maching is having the same score just below it ? If it's due to length having a closer match, I then don't understand the advantage for making it real time ? (If I need to type my string almost entirely to make my targeted result come up in the visible list, then "time gained" by indeed good performances is already lost)
But anyway, performances are very good indeed, just trying to figure out the use case.