views:

146

answers:

4

Has someone seen the actual SQL ( or bigtable or whatever ) code that actually makes the search in some major search engine like google, yahoo, etc? I'm just curious.

(please don't close, let me reformulate if it's not acceptable as a SO question)

+1  A: 

Have you tried googling it?

Rob Elliott
Yes, but google lacks something that forums and SO have: people that answer.
Petruza
But maybe www.google.com/codesearch has the code you're looking for. It was a bad joke, sorry.
Rob Elliott
A joke but true indeed, "search engine source code" seems to mean "source code search engine" for google every damn time.
Petruza
+2  A: 

I suspect that actually 'making the search' is only half of it, and that a lot of the interesting stuff is done when the site is crawled - things like how indexes are generated, how ranking is calculated, etc.

Tom Haigh
A: 

grep 'your query' bigbigindex.txt

More seriously, you can have a look at the complexity of a search engine codebase by having a look at solr.

jeje
+1  A: 

I'm an ex web search guy (not in this space anymore) who had written/seen significant amount of code for one of the search engines you mentioned.

Nutch is an open source web search engine you can take a look at if you're curious. Just imagine better (faster, more automated and scalable) versions of Nutch :)

obecalp
Ok, I just mentioned Google and Yahoo, so you gotta start talking pal!
Petruza