fuzzy-search
fuzzy-search copied to clipboard
Exact matches are ranked too low
hey @m31coding!
great to see someone else working on a better fuzzy search :) i found this project on HN.
i've added it to the uFuzzy demo/bench in https://github.com/leeoniya/uFuzzy/commit/5ebe1ba396ef9318680ce481b8201f2088630220.
indexing the 4MB haystack takes ~1400ms. after that, giving it a quick try with the term "twilight", the results are missing or mis-ranking many exact matches? or perhaps i'm just holding it wrong :sweat_smile: ?
cheers! :beers:
https://leeoniya.github.io/uFuzzy/demos/compare.html?libs=uFuzzy,fuzzy-search&search=twilight