3 ms·
It is explained, but than why is it fuzzy? Isn't the fuzziness part exactly what's missing?
by tomtomtom777 4y ago
It is explained, but than why is it fuzzy? Isn't the fuzziness part exactly what's missing?
- leeoniya 4y agothere are many ways to be fuzzy, so it's quite subjective. uFuzzy can be made tolerant to extra insertions in the matches between/around the specified needle chars, and can also handle out of order terms. those together cover a surprising amount of common cases. but it's not fuzzy in unlimited ways, such as letter omissions in the match (a superset of substitutions) like a spellcheck or levenshtein distance would be...but extreme tolerance often produces garbage results, too. actually, might be able to handle single-char-per-term omissions as well: https://github.com/leeoniya/uFuzzy/issues/2#issuecomment-1264363220 https://github.com/leeoniya/uFuzzy/issues/2#issuecomment-126...
- comfypotato 4y agoI think you have a different idea of what fuzzy means than the creator. I use a fuzzy search in my config that wouldn’t match the parent example. As soon as you include a word that isn’t in the match, the match is removed. I am more concerned that the fuzziness would prioritize a match of “super meet boy and more” over “super and the gang explore meeting friends o boy” because it’s closer to the search string (by what I would define as fuzzy).
- greenhatman 4y agoFuzzy searching generally doesn't mean exactly the same thing as typo correcting or other full text search features. It's more like you can search using word parts. Similar to how your IDE's search work when jumping to files. E.g. you can type 'smb' to find 'Super Meat Boy'. Or type something like 'sup mea acc' to find 'Super Meat Boy Accessed Content' So it requires you to know exactly what you're looking for, but you can find it quickly without having to type a lot. Generally for full text search like you're describing you need to do that on the server side. It would be too heavy to have something full featured like that on the client side.