logoalt Hacker News

Tell HN: I hate your fuzzy search

78 pointsby tehwebguytoday at 6:25 PM47 commentsview on HN

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.


Comments

mmargenottoday at 6:43 PM

Gmail's search on mobile, where things come up in the quick results only to disappear when I complete the search, is a millstone about my neck.

show 7 replies
lerostoday at 6:53 PM

HackerNews search respects double quotes around your terms as an exact match, as do many other search engines.

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.

show 1 reply
tetris11today at 6:41 PM

Quotes should be enough to trigger an exact search. How we regressed from this is beyond me

show 1 reply
rahulmaxtoday at 7:19 PM

From a UX perspective, try exact first, then fuzzy. Add an AI-assisted search if you have the patience to build it, and a few bucks for the API cost.

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.

lukantoday at 6:46 PM

Spotify's fuzzy search makes me want to do pirating again. Looking for a non mainstream artist can be really hard at times for no good reason than to appeal to the dumb average user. I even tried to build my own spotify player and going over the API - same shit (allmost).

show 3 replies
OptionOfTtoday at 7:38 PM

I put in a brand because I want _THAT_ brand, _THAT_ variant.

If I want BR30 100W lightbulbs, don't show me 65W ones.

Ads are supposed to be for fuzziness, not search results.

archonistoday at 6:46 PM

Exact match results followed by fuzzy match would cover most use cases, and clear toggles would cover the remaing ones.

It boggles the mind why this particular wheel keeps getting reinvented in octoganal shapes.

show 2 replies
jimmartoday at 7:55 PM

I searched for "ophthalmologist," got a list of results, and made an appointment. Only later did I discover that my search engine had shown me results for "optometrist" instead of the term I searched for. It was not helpful. The optometrist could not provide the care I needed and it was a waste of time and money. That experience added to my distrust of search results.

ChrisMarshallNYtoday at 7:09 PM

I understand the comment, and the spirit, but speaking only for myself, I find the HN search to be quite useful.

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.

show 1 reply
Fannontoday at 7:37 PM

I feel you, I also prefer precise search in most cases.

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

NikolaNovaktoday at 7:07 PM

Oh man, I hate my area has switched to Facebook marketplace over Kijiji or even craigslist.

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.

show 1 reply
alt227today at 7:55 PM

I guess most sites just chuck it into elasticsearch and dial up the config values such as fuzziness?

KolmogorovComptoday at 7:26 PM

Teams, Zulip, WhatsApp, they all suck so much... Discord is decent in my experience.

alex1138today at 7:29 PM

Hello there Youtube with your lowest common denominator cheap trash in search results

aeagentictoday at 7:04 PM

Best search is windows where u get trash can Onlineshop when u look for the trash and terminal the movie if u look for the terminal

yallpendantoolstoday at 7:10 PM

Amen! I hate this trend towards fuzzy-first for everything. Deterministic should be default, fuzzy should be a special toggle.

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.

bawolfftoday at 6:40 PM

> Not just HN

Umm, 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.

show 2 replies
soupspacestoday at 7:04 PM

script for finding HN GH links ranked

https://gist.github.com/hundredwatt/183191d02f1fe0db31c3e910...

rep_movsdtoday at 7:27 PM

How hard is it to do plain search first for crying out loud.

show 1 reply
theturtletoday at 7:52 PM

[dead]