Possible Duplicate:
Cross Stack Exchange Search

Is there an effective way to search for questions across Stack Exchange sites, or do I need to repeat the search on Stack Overflow, Super User, and any other SE sites that I think might be relevant?

  • 1
    this one is for meta
    – kostja
    Apr 28, 2011 at 10:18
  • 1
    I often find that Google is more convenient for this than the search box on each site. Apr 28, 2011 at 10:26

2 Answers 2


You can just search all sites using the stackexchange page? Is that what you mean?

https://stackexchange.com/ enter image description here

  • It's surprisingly hard to find by navigating from another site in the SE network if you don't want to type in the URL. Maybe that's another good idea for a userscript... Dec 23, 2012 at 1:27


I wrote this before I saw the very simple search on stackexchange.

Call this script with python googse.py "<insert search string>" | less. It will search google for anything on stackoverflow.com, serverfault.com or superuser.com. You get the page title, a summary description and a url. Unfortunately xgoogle has to be manually downloaded and unzipped in your PYTHONPATH (which includes your current working directory). I hope this is useful.

import sys
from xgoogle.search import GoogleSearch, SearchError
# download xgoogle from here
# http://www.catonmat.net/download/xgoogle.zip

def search(topic, sedomain):
      gs = GoogleSearch("%s site:%s" % (topic, sedomain))
      gs.results_per_page = 50
      results = gs.get_results()
      for res in results:
        print "TITLE: %s" % res.title.encode("utf8")
        print res.desc.encode("utf8")
        print "URL: %s" % res.url.encode("utf8")
    except SearchError, e:
      print "Search failed: %s" % e

for domain in ['stackoverflow.com', 'serverfault.com', 'superuser.com']:
    topic = sys.argv[1]
    print "SEARCHING for '%s'" % topic
    search(topic, domain)
  • 1
    Wow, what an effort. Apr 28, 2011 at 11:49
  • 1
    The Trilogy is not the entire StackExchange network! I am offended!
    – ЯegDwight
    Apr 28, 2011 at 12:37
  • @RegDwight, LOL... I'm sure you have a text editor ;-) Apr 28, 2011 at 12:45

Not the answer you're looking for? Browse other questions tagged .