Thursday, September 18, 2008

Query-handling – The Google Way

Query-handling – The Google Way

Google has a very simple 3-step procedure in handling a query submitted in its search


1. When the query is submitted and the enter key is pressed, the web server

sends the query to the index servers. Index server is exactly what its name

suggests; it consists of an index much like the index of a book which displays

where is the particular page containing the queried term is located in the entire


2. After this, the query proceeds to the doc servers, and these servers actually

retrieve the stored documents. Page descriptions or “snippets” are then

generated to suitably describe each search result.

3. These results are then returned to the user in less than a second!