Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Pasting stack traces and error messages.

I cannot fathom the number of times I've pasted an error message enclosed by quotes and got garbage results, and then an hour of troubleshooting and searching later I come across a Github/bugtracker issue, which was nowhere in the search results, were the exact error message appears verbatim.

The garbage results are generally completely unrelated stuff (a lot of Windows forum posts) or pages were a few of the words, or similar words, appear. Despite the search query being a fixed string not only does Google fail to find a verbatim instance of it, but instead of admitting this, they return nonsense results.

> Needle in a haystack phrases from an article or book.

I can confirm this part as well, searching for a very specific phrase will generally find anything but the article in question, despite it being in the search index.

Zero Recall Search.



It seems like pasting a very large search query should actually make it easier for the search engine to find relevant results, but given that this doesn't happen suggests that the search query handler is being too clever and getting in the way.


> a Github/bugtracker issue, which was nowhere in the search results, were the exact error message appears verbatim.

Did you put the error message in quotes? I've never had this problem.


I, too, have pasted error messages verbatim into Google queries only to have garbage returned. I did include the error message in quotes. I started filtering sites from the results eg `-site:quora.com site:stackoverflow.com site:github.com` etc to start to get a hint of other developers with similar issues and/or some bug reports and/or documentation and/or source code.


> -site:quora.com site:stackoverflow.com site:github.com`

A mock-google that excludes quora and optionally targets stackoverflow/github sounds useful.


Could it be that there just isn't a single page in the web with the exact error?




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: