uFuzzy.js
Languages and libraries
javascript search library
SHOW HN2022
How HN took it
5 positive, 19 neutral or asking, 0 mixed, 9 critical, out of 33 comments about the project. Thread score -0.07.
Idea: 2 for, 3 againstExecution: 0 for, 4 againstPerformance: 2 for, 1 againstDocs: 1 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Comparison table is useful and the library is small and well-scored
From 2 comments
your comparisons table at the bottom is worth its weight in gold. ignore the haters, thank you OP
swyx on HNI'm impressed. 3.54KB minified, great performance, good results.
simonw on HN
Objections
Does not handle substitution typos well or missing spaces
From 3 comments
Thank you for this! I am also quite frustrated with the current state of full text search in the javascript world. All libs I've tried miss the most basic examples and their…
moralestapia on HNIt doesn't seem to handle missing spaces https://leeoniya.github.io/uFuzzy/demos/compare.html?libs=uFuzzy,fuzzysort,QuickScore&search=lanoel
trinovantes on HNFrom fuzzy search I expected that entering "super meet boy" or "super maet boy" will return "Super Meat Boy" but unfortunately currently it doesn't work this way and it's quite…
systemz on HN
Behaves more like grep than fuzzy search; ordering is weak
From 2 comments
I have spent many days searching for the best JavaScript implementation of full text search that handles typos (substitutions) well. Implementing a good indexing algorithm for…
molf on HNA blunt answer to your question is: I didn't take the time to read everything. Sorry for missing that feature. I stand by my overall point though. There is more to search than…
molf on HN
Requests
Better typo tolerance, especially substitutions
From 2 comments
Sure, but then that's pretty much the core thing to solve on the fuzzy search problem. Anyway, not being a hater (as that other commenter suggested), if you could add support for…
moralestapia on HN> even if it's limited, one or two typos at most This would help a lot I think. When I'm on mobile, the most common error is "keyboard offset error", where I hit a "key" next to…
magicalhippo on HN
Document the ES module build
From 1 comment
Document it then!
lloydatkinson on HN
Questions
How does it compare to Fuse.js and Levenshtein
From 2 comments
Out of curiosity, how does this compare with fuse.js?
jaitaiwan on HNHow does it compare to levenstein?
dvh on HN
Alternatives named
Fuse.js
From 1 comment
Out of curiosity, how does this compare with fuse.js?
jaitaiwan on HN
MiniSearch
From 1 comment
I have spent many days searching for the best JavaScript implementation of full text search that handles typos (substitutions) well. Implementing a good indexing algorithm for…
molf on HN
FlexSearch
From 1 comment
yep. the core is regexp based and there is no string distance assertion during initial pre-filtering, so this wont be a use case uFuzzy can accomodate. the intro does caveat that…
leeoniya on HN
fuzzysort
From 1 comment
Skimming I don’t think you have my code. Also on phone so may have missed it. Amusingly you do have Hearthstone cards and UE4 filenames whose data definitely comes from my post.…
forrestthewoods on HN