Back to News
Advertisement

Tell HN: I hate your fuzzy search

ttehwebguy about 3 hours ago 51 comments

FR version is available. Content is displayed in original English for accuracy.

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.

Advertisement

⚡ Community Insights

Discussion Sentiment

55% Positive

Analyzed from 1386 words in the discussion.

Trending Topics

#search#fuzzy#exact#results#google#quotes#match#https#com#same

Discussion (51 Comments)Read Original on HackerNews

mmargenotabout 3 hours ago
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.
danielrmayabout 2 hours ago
This, and some results smartly ignoring the selected sort order because gmail suggests you "follow up", both work together to paint a vivid picture of a disassociated product team who no longer understands their customer.
Tossrockabout 2 hours ago
Gmail search has really gone to the dogs, lately. The new AI inbox is surprisingly useful, though. No doubt a coincidence.
apsurdabout 2 hours ago
tangential but Google finance (stocks) turned unusable for me: https://www.google.com/finance/beta/quote/CART:NASDAQ

I can't for the life of me understand how to use it, especially on mobile. Everything turns into an AI conversation. WTF I just want to see the ticker chart. It makes me feel old and out of touch. But also, it's just so horrible. Truly unusable. I went with apple and yahoo - tons of ads but at least I can see the chart.

heisenbitabout 2 hours ago
Google hard at work to catch up with MS Teams search.
LukaDabout 1 hour ago
Same with iOS quick search...
mrngmabout 3 hours ago
Asana has the same problem. Really frustrating.
benttabout 2 hours ago
Killing and restarting the app unbreaks this. Maybe someone from the team could, you know, fix that?
artemonsterabout 2 hours ago
is there a way to fix this? came up couple of times rather critical when I couldnt find an important mail, it just stopped showing up with the search query that I used
mmargenotabout 2 hours ago
I just retried a few queries that were failing ~3 days ago and they are returning correct [enough] results on mobile as of today, when I don't need them. I'm not sure of the cause or how to actually trigger a reindex or a fix when I need it.
lerosabout 3 hours ago
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.

tehwebguyabout 2 hours ago
Just confirmed! (Is this new? I could swear it didn't work a few months ago when I was looking for stories about Bright Data before all the news articles about the residential proxies.)
pibakerabout 1 hour ago
This has been a standard feature for nearly all non trivial search engines for at least two decades. I remember this being a feature when I first used google over two decades ago.
bpalmerau19 minutes ago
It worked in Alta Vista
lerosabout 2 hours ago
No idea. When I was looking it up, I did see that advanced searching has to be enabled in Algolia for it to work.
comment0rabout 1 hour ago
This works since nearly forever.
tetris11about 3 hours ago
Quotes should be enough to trigger an exact search. How we regressed from this is beyond me
mikewarotabout 3 hours ago
Strong agree... now if only there were a way to specify "text" followed by a non-alphanumeric character. Some words I need to find turn out to be prefixes. 8(

Adobe acrobat has "exact match" as part of its document search results, which is amazing

CircuitSeussabout 2 hours ago
If regex were default…
lukanabout 3 hours ago
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).
inigyouabout 3 hours ago
Spotify really wants you to play Spotify's own AI music, since they get to pay themselves the artist royalty.
LiamPowellabout 2 hours ago
Artists will at least show up further down the list usually. With songs it often just will not show the song at all when the title is an exact match, it will instead fill the entire results list with "lyric matches" that I'm sure don't have matches at all as they're often in different languages to the search query.
queenkjuulabout 2 hours ago
I would gladly go back to piracy but music piracy is way harder than the old days, thanks to Spotify.

I've been looking at maybe switching to Tidal but the Spotify inertia is strong

rahulmaxabout 2 hours ago
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.

archonisabout 3 hours ago
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.

Fannonabout 2 hours ago
I tried this actually and wasn't so happy with the results. First you search / index twice and that will cost. You'll have to wait for the slower of the two as you don't want to reorder after already showing the user.

You'd need some scoring where precise hits get better score than those only found by fuzzy search. With that it's maybe acceptable, but I personally preferred just being able to switch it easily/quickly when needed and by preference.

archonis4 minutes ago
That's a fair point. Personally, the search latency wouldn't bother me unless search is the primary mode of interaction in the application context.
habitueabout 2 hours ago
Exact match on a typo brings up a submission with that typo, which is likely low quality
archonis3 minutes ago
I guess one man's quirk is another man's feature. (or vice-versa)
OptionOfTabout 2 hours ago
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.

ChrisMarshallNYabout 2 hours ago
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.

yallpendantoolsabout 2 hours ago
> But fuzzy searches can be extremely useful. Most folks are "fuzzy." > > Google built a pretty huge empire, on simple, fuzzy search.

I was considering whether OP's complaint is an engineer's thing. My conclusion, based on my own experience is, the more your user base tends toward power-users/highly-skilled use cases, the more deterministic your search should be.

A random guy might try to look for a kid's novel series about wizards that sounds like "Happy Fathers". That's when you need Google-level fuzzy search to bridge that gap and suggest "Harry Potter". As a general search engine, Google encounters this a lot.

Same guy asks a librarian, the librarian would instantly know what he's talking about. The Librarian searches the catalog for "Harry Potter" but might misspell it "Harry Poter" or search for "the philosopher's stone" in a US catalog. These cases can be fairly covered by deterministic search methods/classic indexing.

robocat5 minutes ago
> Harry Potter

Often keeps the same spelling in other countries. Some outliers:

Χάρι Πότερ (Chi as approximation to soft H)

Hare Pota me te Whatu Manapou (written Māori is modern, and it attempts to avoid its foreign roots)

Harrius Potter (Vatican City)

Harijs Poters (Latvia)

Garri Potte (Uzbeki Russki)

Harry's name seems to remain the same in many translations: I assume as part of the overseas marketing of the title.

French changes Snape into Rogue (rogue means haughty and unpleasant), and Dutch turns Dumbledore into Perkamentus (the translator created a new name, and Rowling chose https://www.merriam-webster.com/wordplay/harry-potter-words).

So fuzzy search helps people that don't know English that well.

jimmarabout 2 hours ago
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.
Fannonabout 2 hours ago
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

NikolaNovakabout 3 hours ago
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.

tehwebguyabout 2 hours ago
Facebook is the biggest offender (could say that a lot tbh)

"New listings were added that match your search: <$search>"

so-that-was-a-fucking-lie.jpg

Advertisement
alt227about 2 hours ago
I guess most sites just chuck it into elasticsearch and dial up the config values such as fuzziness?
KolmogorovCompabout 2 hours ago
Teams, Zulip, WhatsApp, they all suck so much... Discord is decent in my experience.
aeagenticabout 3 hours ago
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
alex1138about 2 hours ago
Hello there Youtube with your lowest common denominator cheap trash in search results
yallpendantoolsabout 2 hours ago
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.

bawolffabout 3 hours ago
> 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.

mplanchardabout 3 hours ago
Search input box is at the bottom, yes
bawolffabout 3 hours ago
Oh wow. Never noticed that before. Guess im blind.

Although when i tested it just now it did seem to support exact matches using quotes.

bdangubicabout 3 hours ago
absolute marvel of design. it is exactly where it should be!
gabrielsrokaabout 2 hours ago
gertburgerabout 1 hour ago
that is algolia's search of hn...
soupspacesabout 3 hours ago
rep_movsdabout 2 hours ago
How hard is it to do plain search first for crying out loud.
wseqyrkuabout 2 hours ago
Funny you asked, turns out it is quite hard because you must know a lot more about nature of your data and also intricate user needs to design an effective system like that. Fuzzy search is like bluetooth, slap it on and it kind of sort of works. Afterall, everything is better with bluetooth.