Tell HN: I hate your fuzzy search
Not just HN the site, everyone’s fuzzy search sucks. Let me do exact match search. Even if it’s an option I have to dig deep to find.
When I ran a site that had lots of search use I agonized over making search good and never nuked exact match for the sake of some fuzzy matching. I wish others would do the same.
28 comments
[ 3.3 ms ] story [ 41.9 ms ] threadUmm, does HN even have a search?
Almost every site i've ever used the search of supported exact matches by putting the query in quote marks.
It boggles the mind why this particular wheel keeps getting reinvented in octoganal shapes.
For example search for "Amerca" with and without quotes. Without quotes you get content for "America" but with quotes you only get the exact typo match.
https://gist.github.com/hundredwatt/183191d02f1fe0db31c3e910...
Even when an ad exists with EXACT obscure model I'm looking for... It spits out pages of unrelated or semi related garbage before it may or may not show me what I'm actually looking for :-(
Quotes, slashes, nothing seems to work. So I'm with you! Sometimes I just want an exact literal search.
I'm thinking that double-quotes does, indeed, force an exact search.
But fuzzy searches can be extremely useful. Most folks are "fuzzy."
Google built a pretty huge empire, on simple, fuzzy search.
I'd say close to 90% of my daily searches could be served with exact matching. The next 8-9% could be solved by a little more deterministic sophistication (e.g., edit distance, equivalence classes for synonyms). Then the last 1-2% is when I really need some fuzzy magic; mostly to give me an idea what to do with obscure programming-related problems.
I did the exact + fuzzy pattern on a project and it was so satisfying to watch people finding it useful.
Try it here. https://trustedgyn.com/ (a directory, for public good, hopefully you never have to use.) Make mistakes in the search bar and the model fixes it for you. For folks who are not native english, I found it helps a lot.
In a private bookmark extension project, I explictly supported both and made it easy to switch them any time: https://github.com/Fannon/search-bookmarks-history-and-tabs
If I want BR30 100W lightbulbs, don't show me 65W ones.
Ads are supposed to be for fuzziness, not search results.
To search for something is to believe you’ll probably find it. You’ll ignore anything that isn’t keys if you’re searching for your keys.
Fuzzy search is really the opposite: it will try to return something — anything — if it can’t find what you’re looking for (which it seemingly often doesn’t actually look for anyway). “I couldn’t find your keys, but here’s a pomegranate, a dried up dog turd, and a stray Cheeto from an inaccessible cabinet that hasn’t been opened since before you moved in”
depending on the search intent it could potentially be useful, but a built in excluder option would be great for casual searchers that dont want their criterion to match handles
Elasticsearch has been a plague for users who already know what they are looking for.