<http://schema.org/articleBody>
"Google's Matt Cutts, the man responsible for helping bring search engine communication with webmasters, amongst other things, produced an 8 minute video on how Google search works.  He briefly goes through how Google worked in the past and works now, when it comes to crawling, indexing and ranking.  Matt said the video describes how \"Google crawls, indexes, and ranks web documents.\"Here is the video:Here is the transcript:0:00 \r\n0:00 MATT CUTTS: Hi, everybody.\r\n0:01 We got a really interesting and very expansive question\r\n0:04 from RobertvH in Munich.\r\n0:06 RobertvH wants to know--\r\n0:09 Hi Matt, could you please explain how Google's ranking\r\n0:12 and website evaluation process works starting with the\r\n0:14 crawling and analysis of a site, crawling time lines,\r\n0:18 frequencies, priorities, indexing and filtering\r\n0:21 processes within the databases, et cetera?\r\n0:25 OK.\r\n0:25 So that's basically just like, tell me\r\n0:27 everything about Google.\r\n0:28 Right?\r\n0:29 That's a really expansive question.\r\n0:30 It covers a lot of different ground.\r\n0:32 And in fact, I have given orientation lectures to\r\n0:35 engineers when they come in.\r\n0:37 And I can talk for an hour about all those different\r\n0:40 topics, and even talk for an hour about a very small subset\r\n0:43 of those topics.\r\n0:45 So let me talk for a while and see how much of a feel I can\r\n0:48 give you for how the Google infrastructure works, how it\r\n0:51 all fits together, how our crawling and indexing and\r\n0:53 serving pipeline works.\r\n0:55 Let's dive right in.\r\n0:57 So there's three things that you really want to do well if\r\n0:59 you want to be the world's best search engine.\r\n1:01 You want to crawl the web comprehensively and deeply.\r\n1:03 You want to index those pages.\r\n1:05 And then you want to rank or serve those pages and return\r\n1:08 the most relevant ones first.\r\n1:10 Crawling is actually more difficult\r\n1:11 than you might think.\r\n1:13 Whenever Google started, whenever I joined back in\r\n1:16 2000, we didn't manage to crawl the web for something\r\n1:18 like three or four months.\r\n1:20 And we had to have a war room.\r\n1:22 But a good way to think about the mental model is we\r\n1:25 basically take page rank as the primary determinant.\r\n1:28 And the more page rank you have-- that is, the more\r\n1:31 people who link to you and the more reputable those people\r\n1:34 are-- the more likely it is we're going to discover your\r\n1:37 page relatively early in the crawl.\r\n1:39 In fact, you could imagine crawling in strict page rank\r\n1:41 order, and you'd get the CNNs of the world and The New York\r\n1:45 Times of the world and really very high page rank sites.\r\n1:49 And if you think about how things used to be, we used to\r\n1:51 crawl for 30 days.\r\n1:53 So we'd crawl for several weeks.\r\n1:56 And then we would index for about a week.\r\n1:59 And then we would push that data out.\r\n2:01 And that would take about a week.\r\n2:04 And so that was what the Google dance was.\r\n2:05 Sometimes you'd hit one data center that had old data.\r\n2:07 And sometimes you'd hit a data center that had new data.\r\n2:10 Now there's various interesting tricks\r\n2:13 that you can do.\r\n2:13 For example, after you've crawled for 30 days, you can\r\n2:16 imagine recrawling the high page rank guys so you can see\r\n2:19 if there's anything new or important that's hit on the\r\n2:21 CNN home page.\r\n2:22 But for the most part, this is not fantastic.\r\n2:25 Right?\r\n2:25 Because if you're trying to crawl the web and it takes you\r\n2:28 30 days, you're going to be out-of-date.\r\n2:30 So eventually, in 2003, I believe, we switched as part\r\n2:36 of an update called Update Fritz to crawling a fairly\r\n2:40 interesting significant chunk of the web every day.\r\n2:43 And so if you imagine breaking the web into a certain number\r\n2:47 of segments, you could imagine crawling that part of the web\r\n2:51 and refreshing it every night.\r\n2:53 And so at any given point, your main base index would\r\n2:58 only be so out of date.\r\n3:00 Because then you'd loop back around and you'd refresh that.\r\n3:03 And that works very, very well.\r\n3:04 Instead of waiting for everything to finish, you're\r\n3:06 incrementally updating your index.\r\n3:08 And we've gotten even better over time.\r\n3:10 So at this point, we can get very, very fresh.\r\n3:14 Any time we see updates, we can usually\r\n3:16 find them very quickly.\r\n3:18 And in the old days, you would have not just a main or a base\r\n3:20 index, but you could have what were called supplemental\r\n3:24 results, or the supplemental index.\r\n3:26 And that was something that we wouldn't crawl and refresh\r\n3:28 quite as often.\r\n3:29 But it was a lot more documents.\r\n3:31 And so you could almost imagine having really fresh\r\n3:35 content, a layer of our main index, and then more documents\r\n3:40 that are not refreshed quite as often, but there's a lot\r\n3:42 more of them.\r\n3:43 So that's just a little bit about the crawl and how to\r\n3:45 crawl comprehensively.\r\n3:47 What you do then is you pass things around.\r\n3:49 And you basically say, OK, I have crawled a large fraction\r\n3:53 of the web.\r\n3:54 And within that web you have, for example, one document.\r\n3:58 And indexing is basically taking things in word order.\r\n4:04 Well, let's just work through an example.\r\n4:06 Suppose you say Katy Perry.\r\n4:10 In a document, Katy Perry appears right\r\n4:13 next to each other.\r\n4:14 But what you want in an index is which documents does the\r\n4:18 word Katy appear in, and which documents does the word\r\n4:20 Perry appear in?\r\n4:22 So you might say Katy appears in documents 1, and 2, and 89,\r\n4:26 and 555, and 789.\r\n4:32 And Perry might appear in documents number 2, and 8, and\r\n4:37 73, and 555, and 1,000.\r\n4:42 And so the whole process of doing the index is reversing,\r\n4:47 so that instead of having the documents in word order, you\r\n4:50 have the words, and they have it in document order.\r\n4:53 So it's, OK, these are all the documents that a\r\n4:54 word appears in.\r\n4:56 Now when someone comes to Google and they type in Katy\r\n4:59 Perry, you want to say, OK, what documents might match\r\n5:02 Katy Perry?\r\n5:03 Well, document one has Katy, but it doesn't have Perry.\r\n5:06 So it's out.\r\n5:08 Document number two has both Katy and Perry, so that's a\r\n5:11 possibility.\r\n5:12 Document eight has Perry but not Katy.\r\n5:15 89 and 73 are out because they don't have the right\r\n5:18 combination of words.\r\n5:19 555 has both Katy and Perry.\r\n5:22 And then these two are also out.\r\n5:25 And so when someone comes to Google and they type in\r\n5:27 Chicken Little, Britney Spears, Matt Cutts, Katy\r\n5:29 Perry, whatever it is, we find the documents that we believe\r\n5:32 have those words, either on the page or maybe in back\r\n5:35 links, in anchor text pointing to that document.\r\n5:38 Once you've done what's called document selection, you try to\r\n5:41 figure out, how should you rank those?\r\n5:43 And that's really tricky.\r\n5:44 We use page rank as well as over 200 other factors in our\r\n5:49 rankings to try to say, OK, maybe this document is really\r\n5:52 authoritative.\r\n5:53 It has a lot of reputation because it has\r\n5:55 a lot of page rank.\r\n5:56 But it only has the word Perry once.\r\n5:58 And it just happens to have the word Katy somewhere else\r\n6:01 on the page.\r\n6:02 Whereas here is a document that has the word Katy and\r\n6:04 Perry right next to each other, so there's proximity.\r\n6:07 And it's got a lot of reputation.\r\n6:09 It's got a lot of links pointing to it.\r\n6:12 So we try to balance that off.\r\n6:13 You want to find reputable documents that are also about\r\n6:16 what the user typed in.\r\n6:18 And that's kind of the secret sauce, trying to figure out a\r\n6:20 way to combine those 200 different ranking signals in\r\n6:23 order to find the most relevant document.\r\n6:25 So at any given time, hundreds of millions of times a day,\r\n6:30 someone comes to Google.\r\n6:32 We try to find the closest data center to them.\r\n6:34 They type in something like Katy Perry.\r\n6:36 We send that query out to hundreds of different machines\r\n6:38 all at once, which look through their little tiny\r\n6:41 fraction of the web that we've indexed.\r\n6:43 And we find, OK, these are the documents that\r\n6:45 we think best match.\r\n6:47 All those machines return their matches.\r\n6:49 And we say, OK, what's the creme de la creme?\r\n6:52 What's the needle in the haystack?\r\n6:53 What's the best page that matches this query across our\r\n6:56 entire index?\r\n6:57 And then we take that page and we try to show it with a\r\n7:00 useful snippet.\r\n7:01 So you show the key words in the context of the document.\r\n7:03 And you get it all back in under half a second.\r\n7:06 So that's probably about as long as we can go on without\r\n7:10 straining YouTube.\r\n7:11 But that just gives you a little bit of a feel about how\r\n7:13 the crawling system works, how we index documents, how things\r\n7:16 get returned in under half a second through that massive\r\n7:19 parallelization.\r\n7:20 I hope that helps.\r\n7:21 And if you want to know more, there's a whole bunch of\r\n7:23 articles and academic papers about Google, and page rank,\r\n7:26 and how Google works.\r\n7:28 But you can also apply to--\r\n7:30 there's jobs@google.com, I think, or google.com/jobs, if\r\n7:34 you're interested in learning a lot more about how search\r\n7:36 engines work.\r\n7:3 7OK.\r\n7:37 Thanks very much.\r\n7:39Forum discussion at Google+."^^<http://www.w3.org/2001/XMLSchema#string>
<https://www.seroundtable.com/how-google-works-video-15055.html>