We know that we get results when we search in Google or other search engines, but how does Google know what to show in the results?
It is google algorithm designed by google engineers. It is an search engine developed by world class engineers
It works on Relevance, not much point returning pages on dog grooming if you're searching for PHP advice... There are over 200 ranking signals, google them.
search engine spider (crawler, robot) brings the result by seeing website url, meta title, meta description etc with searching our keywords. It is google algorithm.
Google has three distinct parts * Googlebot, a web crawler that finds and fetches web pages. * The indexer that sorts every word on every page and stores the resulting index of words in a huge database. * The query processor, which compares your search query to the index and recommends the documents that it considers most relevant.