Tell HN: I hate your fuzzy search

76 points | by tehwebguy 2 hours ago ago

41 comments

  • jimmar a minute 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.

  • mmargenot an hour 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.

    • heisenbit a minute ago

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

    • danielrmay 23 minutes 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.

    • Tossrock 15 minutes ago

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

      • apsurd 11 minutes 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.

    • artemonster 14 minutes 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

      • mmargenot 11 minutes 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.

    • mrngm an hour ago

      Asana has the same problem. Really frustrating.

    • bentt an hour ago

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

  • leros an hour 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.

    • tehwebguy 3 minutes 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.)

  • OptionOfT 19 minutes 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.

  • rahulmax 37 minutes 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.

  • alt227 2 minutes ago

    I guess most sites just chuck it into elasticsearch with the default config?

  • tetris11 an hour ago

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

    • mikewarot an hour ago

      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(

  • lukan an hour 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).

    • LiamPowell a minute 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.

    • inigyou an hour ago

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

  • archonis an hour 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.

    • Fannon 9 minutes 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.

    • habitue 23 minutes ago

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

  • Fannon 20 minutes 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

  • ChrisMarshallNY an hour 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.

    • yallpendantools 24 minutes 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 less 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.

  • NikolaNovak an hour 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.

  • pbjerkeseth 15 minutes ago

    Perfect comment to come across the same day I'm building the much delayed search for https://github.com/ouijit/ouijit

  • KolmogorovComp 31 minutes ago

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

  • alex1138 27 minutes ago

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

  • aeagentic an hour 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

  • yallpendantools an hour 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.

  • bawolff an hour 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.

    • gabrielsroka a few seconds ago
    • mplanchard an hour ago

      Search input box is at the bottom, yes

      • bawolff an hour 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.

      • bdangubic an hour ago

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

  • rep_movsd 29 minutes ago

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

    • wseqyrku 2 minutes 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.

  • soupspaces an hour ago