Computers |
|
| | #1 (permalink) |
| Newb Techie Join Date: Nov 2004
Posts: 26
| Howdy, I want to know how the google, webcrawler etc. searchengines really work. I have read around 10 websites, found on google, about how searchengines work and not a single one of them make it clear if it is the spider or the index or the search software does the ranking according to its ranking algorithm. All they ever say is that, a searchengine has 3 softwares : a) the spider b) the index c) the search system (search-box, template, etc.) The spiders crawl the web collecting webpages and then forward them to the index and then the search software searches the index for the sought keywords/phrases. Also, some say that the spiders copy the whole website into its index. So, in other words, there is 2 copies of a website. One residing in the website owners webserver and the other residing on the index of the searchengine. So now, I can only assume 3 possibilities how a searchengine works from all this: 1. The spider does not do the ranking according to any algorithm. All it does is visit a website, grab all its html codes (copy a website) and then dump the html codes to its index. The Index is nothing but a big txt file (.txt, .html) on the searchengines webserver that keeps full copy (html codes) of each website. The search-system, when searching and finding links (in the index) gives the ranking according to the searchengines ranking algorithm. This means, the spider nor the index is responsible for the ranking because these 2 parts of the searchengine are not taught the ranking algorithm. OR 2. The spider does the ranking according to the searchengines ranking algorithm. It visits a website and grabs all its html codes (copy a website) and then finally dump the html codes to its index. When it dumps the copies of websites it ranks them according to the searchengines algorithm. The Index is nothing but a big txt file (.txt, .html) on the searchengines webserver that keeps full copy (html codes) of each website. The search-system, when searching and finding links (in the index) does not give the ranking according to the searchengines ranking algorithm because that has been already done by the spider when dumping the data onto the index. This means, the spider is responsible for giving the ranking and not the index nor the search-system responsible for the ranking because these 2 parts of the searchengine are not taught the ranking algorithm. OR 3. The spider does not do the ranking according to any algorithm. All it does is visit a website, grab all its html codes (copy a website) and then dump the html codes to its index. The Index is not only a big txt file (.txt, .html) on the searchengines webserver that keeps full copy (html codes) of each website but also the system that does the ranking. When it receives data from the spider, it ranks the links in its database according to the searchengines ranking algorithm. The search-system, when searching and finding links (in the index) does not give the ranking according to the searchengines ranking algorithm. Frankly, all it does is output a copy of certain parts of the index onto a searchers screen. This means, neither the spider or the search-system is responsible for the ranking because these 2 parts of the searchengine are not taught the ranking algorithm. So, which assumption is correct according to the 3 above ? |
| | |
| | #3 (permalink) |
| Ultra Techie | onauc, AFAIK I think the option 1 is the closest one, but not the exact one. The spider crawls the website and only fetches snapshot of some of the pages [not the full website or its html codes as you say]. The google servers recieves this snapshot and is indexed. There are various algorithm , not just search-algorithm. I guess there will be a page ranking algorithm that ranks the webpages based on various factors [ Backlinks, no of clicks ,etc etc ] and reindex the pages. |
| | |
| | #4 (permalink) | |
| Newb Techie Join Date: Nov 2004
Posts: 26
| Quote:
Certainly not the spider as it only grabs links and their descriptions and certainly not the index as it is plain simple cache and certainly not the query interface because if the perl/php (rank algorithm code) was residing in the html of the search-=page then people would right mouse click and view the source codes of the ranking algorithm. | |
| | |
| | #6 (permalink) | |
| Newb Techie Join Date: Nov 2004
Posts: 26
| Quote:
| |
| | |