Remix.run Logo
Tell HN: I hate your fuzzy search
78 points by tehwebguy 2 hours ago | 49 comments

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.

mmargenot 2 hours ago | parent | next [-]

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.

LukaD a few seconds ago | parent | next [-]

Same with iOS quick search...

danielrmay 43 minutes ago | parent | prev | next [-]

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.

Tossrock 35 minutes ago | parent | prev | next [-]

Gmail search has really gone to the dogs, lately. The new AI inbox is surprisingly useful, though. No doubt a coincidence.

apsurd 31 minutes ago | parent [-]

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.

heisenbit 21 minutes ago | parent | prev | next [-]

Google hard at work to catch up with MS Teams search.

mrngm an hour ago | parent | prev | next [-]

Asana has the same problem. Really frustrating.

artemonster 33 minutes ago | parent | prev | next [-]

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

mmargenot 31 minutes ago | parent [-]

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.

bentt an hour ago | parent | prev [-]

Killing and restarting the app unbreaks this. Maybe someone from the team could, you know, fix that?

leros an hour ago | parent | prev | next [-]

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.

tehwebguy 23 minutes ago | parent [-]

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.)

leros 10 minutes ago | parent | next [-]

No idea. When I was looking it up, I did see that advanced searching has to be enabled in Algolia for it to work.

comment0r 5 minutes ago | parent | prev [-]

This works since nearly forever.

rahulmax an hour ago | parent | prev | next [-]

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.

tetris11 2 hours ago | parent | prev | next [-]

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

mikewarot 2 hours ago | parent [-]

Strong agree... now if only there were a way to specify "text" followed by a non-character. Some words I need to find turn out to be prefixes. 8(

CircuitSeuss an hour ago | parent [-]

If regex were default…

lukan 2 hours ago | parent | prev | next [-]

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).

inigyou an hour ago | parent | next [-]

Spotify really wants you to play Spotify's own AI music, since they get to pay themselves the artist royalty.

LiamPowell 21 minutes ago | parent | prev | next [-]

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.

queenkjuul 18 minutes ago | parent | prev [-]

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

OptionOfT 39 minutes ago | parent | prev | next [-]

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.

archonis 2 hours ago | parent | prev | next [-]

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.

Fannon 29 minutes ago | parent | next [-]

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.

habitue 43 minutes ago | parent | prev [-]

Exact match on a typo brings up a submission with that typo, which is likely low quality

jimmar 21 minutes ago | parent | prev | next [-]

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.

ChrisMarshallNY an hour ago | parent | prev | next [-]

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.

yallpendantools 44 minutes ago | parent [-]

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

Fannon 40 minutes ago | parent | prev | next [-]

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

alt227 22 minutes ago | parent | prev | next [-]

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

NikolaNovak an hour ago | parent | prev | next [-]

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.

tehwebguy 20 minutes ago | parent [-]

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

35 minutes ago | parent | prev | next [-]
[deleted]
2 hours ago | parent | prev | next [-]
[deleted]
KolmogorovComp an hour ago | parent | prev | next [-]

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

alex1138 an hour ago | parent | prev | next [-]

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

aeagentic an hour ago | parent | prev | next [-]

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

yallpendantools an hour ago | parent | prev | next [-]

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.

bawolff 2 hours ago | parent | prev | next [-]

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

gabrielsroka 21 minutes ago | parent | next [-]

Yes: https://hn.algolia.com

gertburger 3 minutes ago | parent [-]

that is algolia's search of hn...

mplanchard 2 hours ago | parent | prev [-]

Search input box is at the bottom, yes

bawolff 2 hours ago | parent | next [-]

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.

bdangubic 2 hours ago | parent | prev [-]

absolute marvel of design. it is exactly where it should be!

soupspaces an hour ago | parent | prev | next [-]

script for finding HN GH links ranked

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

rep_movsd an hour ago | parent | prev | next [-]

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

wseqyrku 22 minutes ago | parent [-]

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.

theturtle 24 minutes ago | parent | prev [-]

[dead]