9

I don't want site:stackoverflow.com (that rules out other sites).
I don't want to star stackoverflow.com Google results (that's too manual).

I want to search Google such that any stackoverflow.com result will automatically appear before results from other sites (which then appear below).

Is this possible?

1

4 Answers 4

11

I sometimes want to do exactly that, and then I just add the word "stackoverflow" to my search string. This works wonders. Observe:

2
  • 3
    I use this technique to get the MSDN page I'm looking for when researching class methods etc.
    – ChrisF
    Commented Aug 31, 2010 at 20:15
  • 2
    Good job: the first result for 'beautiful sunset stackoverflow' is now this post. google.com/search?q=beautiful+sunset+stackoverflow
    – nhinkle
    Commented Sep 1, 2010 at 5:40
2

This Google Custom Search searches the entire web but emphasizes Stack Overflow results.

Not exactly what you need but close.

Compare: coinitialize on Google vs. coinitialize on Custom Search

(Doesn't work for beer or sunset keywords though.)

2
  • From the question, which this solution does not offer: "any stackoverflow.com result will automatically appear before results from other sites". The first result from your "Custom Search" link above is from MSDN?
    – lance
    Commented Dec 6, 2010 at 14:45
  • @lance True. On the other hand it uses relevance which is in my opinion better. Anyway, I edited my answer. Commented Dec 6, 2010 at 21:47
1

Bigger picture : Google is working on it and you can help them.
Google released a Chrome extension allowing users to blacklist domains and report it to Google servers in order to detect content farms (such as websites which scrape stackoverflow content).

http://googleblog.blogspot.com/2011/02/new-chrome-extension-block-sites-from.html

0

The search engine DuckDuckGo has something they call !-syntax. You can prefix (or infix or postfix) a search query with, for example !stackoverflow or !so and it will search StackOverflow for your query directly from the search bar. It also pulls content for its regular search results directly from the SOFU trilogy so your chances of finding a relevant answer are that much greater.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.