# Google 搜索如何工作

> 来源：Google Search Central (https://developers.google.com/search/docs/fundamentals-how-search-works.txt)

---

** Snippets  **
  ** Images  **
  ** Videos  **
  ** Structured data  **
  ** Favicons  **

  * Site-specific guides
  ** Ecommerce  **
  ** International and multilingual sites  **

  * Data analysis
  ** Get started with Search Console  **
  ** Debug traffic drops  **
  ** Using Search Console and Google Analytics data for SEO  **
  ** Get started with Google Trends  **

[ Support ](https://developers.google.com/search/help) [ Blog ](https://developers.google.com/search/blog) [ What's new ](https://developers.google.com/search/news)

  ** All updates  **
  ** Documentation updates  **
  ** Ranking updates  **
  ** New YouTube videos  **
  ** Recent podcast episodes  **

[ Events ](https://developers.google.com/search/events) [ Case studies ](https://developers.google.com/search/case-studies) `/`

  * English
  * Deutsch
  * Español
  * Español – América Latina
  * Français
  * Indonesia
  * Italiano
  * Polski
  * Português – Brasil
  * Tiếng Việt
  * Türkçe
  * Русский
  * العربيّة
  * हिंदी
  * ภาษาไทย
  * 中文 – 简体
  * 中文 – 繁體
  * 日本語
  * 한국어

Sign in

  ** Documentation **

[Search Console](https://goo.gle/searchconsole) [ ](https://developers.google.com/search)

  ** Google Search Central **

  ** Documentation  **
    * More 
  ** Support  **
  ** Blog  **
  ** What's new  **
    * More 
  ** Events  **
  ** Case studies  **

  **Introduction**
  * Search Essentials
    **Overview**
    **Technical requirements**
    **Spam policies**
  * SEO fundamentals
    **SEO Starter Guide**
    **How Google Search works**
    **Creating helpful, reliable, people-first content**
    **Do you need an SEO?**
    **Maintaining your site's SEO**
    **Developer's guide to Search**
    **Get your website on Google**
    **Guidance on using generative AI**
  * Crawling and indexing
    **Overview**
    **File types Google can index**
    **URL structure**
    **Links**
    * Sitemaps
      **Learn about sitemaps**
      **Build and submit a sitemap**
      **Manage sitemaps with sitemap index file**
      * Sitemap extensions
        **Image sitemaps**
        **News sitemaps**
        **Video sitemaps and alternatives**
        **Combining sitemap extensions**
    * Crawler management
      **Ask Google to recrawl your URLs**
      **Troubleshoot crawl errors**
      * Google crawlers
        **List of Google crawlers**
        **Googlebot**
        **Reduce the Google crawl rate**
        **Verifying Googlebot and other Google crawlers**
    * robots.txt
      **Introduction to robots.txt**
      **How Google interprets the robots.txt specification**
    * Canonicalization
      **What is URL canonicalization**
      **How to specify a canonical URL with rel="canonical" and other methods**
      **Fix canonicalization issues**
    **Mobile site and mobile-first indexing**
    * AMP
      **AMP on Google Search guidelines**
      **Understand how AMP works in search results**
      **Enhance AMP content**
      **Validate AMP content**
      **Remove AMP content**
    * JavaScript
      **Understand the JavaScript SEO basics**
      **Fix search-related JavaScript problems**
      **Fix lazy-loaded content**
      **Dynamic rendering as a workaround**
    * Page and content metadata
      **Page metadata**
      * Meta tags
        **Meta tags and HTML attributes that Google supports**
        **Robots meta tag, data-nosnippet, and X-Robots-Tag**
        **noindex**
      **rel attributes**
    * Removals
      **Control what you share with Google**
      **Page removals**
      **Image removals**
      **Redacted information**
    * Site moves and changes
      **Redirects and Google Search**
      * Site moves
        **Changing your hosting**
        **Move a site with URL changes**
      **A/B testing**
      **Temporarily pause or disable a website**
  * Ranking and search appearance
    **Overview**
    **AI features**
    **Byline dates**
    **Favicons**
    **Featured snippets**
    **Flexible Sampling**
    **Google Discover**
    **Images**
    * Local features
      **Business details**
      **Top Places List**
      **Opting out of local search results**
    * Page experience
      **Understanding page experience**
      **Core Web Vitals**
      **Interstitials and dialogs**
      **Get started with signed exchanges on Google Search**
    **Preferred sources**
    * Ranking systems
      **A guide to Google Search ranking systems**
      **Reviews system**
    * Ranking updates
      **List of ranking updates**
      **Core updates**
      **Spam updates**
    **Site names**
    **Sitelinks**
    **Snippets**
    * Structured data
      **Understand how structured data works**
      **Structured data general guidelines**
      **Enriched search results**
      **Generate structured data with JavaScript**
      * Feature guides
        **All structured data features**
        **Article**
        **Book actions**
        **Breadcrumb**
        **Carousel**
        **Course list**
        **Dataset**
        **Discussion forum**
        **Education Q&A**
        **Employer aggregate rating**
        **Fact check**
        **Event**
        **FAQ**
        **Image metadata**
        **Job posting**
        **Local business**
        **Math solver**
        **Movie carousel**
        **Organization**
        * Shopping
          **Overview**
          **Product snippet**
          **Merchant listing**
          **Variants**
          **Loyalty program**
          **Merchant return policy**
          **Merchant shipping policy**
        **Profile page**
        **Q&A**
        **Recipe**
        **Review snippet**
        **Software app**
        **Speakable**
        **Subscription and paywalled content**
        **Vacation rental**
        **Video**
    **Title links**
    * Translated features
      **Translated results**
      **Ad networks and translation-related Google Search features**
    **Videos**
    **Visual Elements gallery**
    * Web Stories
      **Enable Web Stories on Google**
      **Best practices for creating Web Stories**
      **Web Story content policy**
    * Early Adopters Program
      **Package tracking**
      **Structured data carousels (beta)**
  * Monitoring and debugging
    **Debug drops in Search traffic**
    * Monitor with Search Console
      **Get started with Search Console**
      **Improve SEO with a bubble chart**
      **Using Search Console and Google Analytics data for SEO**
    * Debug with search operators
      **Overview**
      **site: search operator**
      **Google Images search operators**
    * Preventing and monitoring abuse
      **Overview**
      **Prevent user-generated spam**
      **Malware and unwanted software**
      **Prevent a malware infection**
      **Social engineering (phishing and deceptive sites)**
      **Google Safe Browsing Repeat Offenders Policy**
    **Get started with Google Trends**
  * Site-specific guides
    * Ecommerce
      **Overview**
      **Where content can appear**
      **Share product data**
      **Include structured data**
      **Launch a new website**
      **Write high quality reviews**
      **Design a URL structure**
      **Ecommerce site structure**
      **Pagination, incremental page loading, and Search**
    * International and multilingual
      **Overview**
      **Managing multi-regional and multilingual sites**
      **Tell Google about localized versions of your page**
      **How Google crawls locale-adaptive pages**
    * Explicit content
      **Guidelines for sites with explicit content**
      **What to do if your site is incorrectly flagged as explicit**

  * SEO fundamentals 
  ** Introduction  **
  ** Search Essentials  **
  ** SEO Starter Guide  **
  ** How Google Search Works  **
  ** Do you need an SEO?  **
  * Crawling and indexing 
  ** Sitemaps  **
  ** robots.txt  **
  ** Meta tags  **
  ** Crawler management  **
  ** Removals  **
  ** Canonicalization  **
  ** Redirects  **
  ** JavaScript SEO  **
  * Ranking and search appearance 
  ** Visual Elements gallery  **
  ** Title links  **
  ** Snippets  **
  ** Images  **
  ** Videos  **
  ** Structured data  **
  ** Favicons  **
  * Site-specific guides 
  ** Ecommerce  **
  ** International and multilingual sites  **
  * Data analysis 
  ** Get started with Search Console  **
  ** Debug traffic drops  **
  ** Using Search Console and Google Analytics data for SEO  **
  ** Get started with Google Trends  **

  ** All updates  **
  ** Documentation updates  **
  ** Ranking updates  **
  ** New YouTube videos  **
  ** Recent podcast episodes  **

  ** Home **
  ** Search Central **
  ** Documentation **

Send feedback  In-depth guide to how Google Search works Google Search is a fully-automated search engine that uses software known as web crawlers that explore the web regularly to find pages to add to our index. In fact, the vast majority of pages listed in our results aren't manually submitted for inclusion, but are found and added automatically when our web crawlers explore the web. This document explains the stages of how Search works in the context of your website. Having this base knowledge can help you fix crawling issues, get your pages indexed, and learn how to optimize how your site appears in Google Search.  Looking for something less technical? Check out our [How Search Works site](https://www.google.com/search/howsearchworks/), which explains how Search works from a searcher's perspective.  A few notes before we get started Before we get into the details of how Search works, it's important to note that Google doesn't accept payment to crawl a site more frequently, or rank it higher. If anyone tells you otherwise, they're wrong.  Google doesn't guarantee that it will crawl, index, or serve your page, even if your page follows the [Google Search Essentials](/search/docs/essentials).  Introducing the three stages of Google Search Google Search works in three stages, and not all pages make it through each stage:

  1. Crawling: Google downloads text, images, and videos from pages it found on the internet with automated programs called crawlers. 
  2. Indexing: Google analyzes the text, images, and video files on the page, and stores the information in the Google index, which is a large database. 
  3. Serving search results: When a user searches on Google, Google returns information that's relevant to the user's query. 

Crawling The first stage is finding out what pages exist on the web. There isn't a central registry of all web pages, so Google must constantly look for new and updated pages and add them to its list of known pages. This process is called "URL discovery". Some pages are known because Google has already visited them. Other pages are discovered when Google extracts a link from a known page to a new page: for example, a hub page, such as a category page, links to a new blog post. Still other pages are discovered when you submit a list of pages (a [sitemap](/search/docs/crawling-indexing/sitemaps/overview)) for Google to crawl.  Once Google discovers a page's URL, it may visit (or "crawl") the page to find out what's on it. We use a huge set of computers to crawl billions of pages on the web. The program that does the fetching is called [Googlebot](/search/docs/crawling-indexing/googlebot) (also known as a crawler, robot, bot, or spider). Googlebot uses an algorithmic process to determine which sites to crawl, how often, and how many pages to fetch from each site. [Google's crawlers](/search/docs/crawling-indexing/overview-google-crawlers) are also programmed such that they try not to crawl the site too fast to avoid overloading it. This mechanism is based on the responses of the site (for example, [HTTP 500 errors mean "slow down"](/search/docs/crawling-indexing/http-network-errors#http-status-codes)).  However, Googlebot doesn't crawl all the pages it discovered. Some pages may be [disallowed for crawling](/search/docs/crawling-indexing/robots/robots_txt#disallow) by the site owner, other pages may not be accessible without logging in to the site.  During the crawl, Google renders the page and [runs any JavaScript it finds](/search/docs/crawling-indexing/javascript/javascript-seo-basics#how-googlebot-processes-javascript) using a recent version of [Chrome](https://www.google.com/chrome/), similar to how your browser renders pages you visit. Rendering is important because websites often rely on JavaScript to bring content to the page, and without rendering Google might not see that content.  Crawling depends on whether Google's crawlers can access the site. Some common issues with Googlebot accessing sites include: 

  **Problems with the server handling the site**
  **Network issues**
  **robots.txt rules preventing Googlebot's access to the page**

Indexing After a page is crawled, Google tries to understand what the page is about. This stage is called indexing and it includes processing and analyzing the textual content and key content tags and attributes, such as [`<title>` elements](/search/docs/appearance/title-link) and alt attributes, [images](/search/docs/appearance/google-images), [videos](/search/docs/appearance/video), and more.  During the indexing process, Google determines if a page is a [duplicate of another page on the internet or canonical](/search/docs/crawling-indexing/consolidate-duplicate-urls). The canonical is the page that may be shown in search results. To select the canonical, we first group together (also known as clustering) the pages that we found on the internet that have similar content, and then we select the one that's most representative of the group. The other pages in the group are alternate versions that may be served in different contexts, like if the user is searching from a mobile device or they're looking for a very specific page from that cluster.  Google also collects signals about the canonical page and its contents, which may be used in the next stage, where we serve the page in search results. Some signals include the language of the page, the country the content is local to, and the usability of the page.  The collected information about the canonical page and its cluster may be stored in the Google index, a large database hosted on thousands of computers. Indexing isn't guaranteed; not every page that Google processes will be indexed.  Indexing also depends on the content of the page and its metadata. Some common indexing issues can include: 

  **The quality of the content on page is low**
  **Robots `meta` rules disallow indexing**
  **The design of the website might make indexing difficult**

Serving search results Google doesn't accept payment to rank pages higher, and ranking is done programmatically. [Learn more about ads on Google Search](https://www.google.com/search/howsearchworks/our-approach/ads-on-search/).  When a user enters a query, our machines search the index for matching pages and return the results we believe are the highest quality and most relevant to the user's query. Relevancy is determined by hundreds of factors, which could include information such as the user's location, language, and device (desktop or phone). For example, searching for "bicycle repair shops" would show different results to a user in Paris than it would to a user in Hong Kong.  Based on the user's query the search features that appear on the search results page also change. For example, searching for "bicycle repair shops" will likely show local results and no [image results](/search/docs/appearance/visual-elements-gallery#image-result), however searching for "modern bicycle" is more likely to show image results, but not local results. You can explore the most common UI elements of Google web search in our [Visual Element gallery](/search/docs/appearance/visual-elements-gallery).  Search Console might tell you that a page is indexed, but you don't see it in search results. This might be because: 

  **The content on the page is irrelevant to users' queries**
  **The quality of the content is low**
  **Robots `meta` rules prevent serving**

While this guide explains how Search works, we are always working on improving our algorithms. You can keep track of these changes by following the [Google Search Central blog](/search/blog).  Send feedback  Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates. Last updated 2025-12-18 UTC. Need to tell us more?  [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-18 UTC."],[],["Google Search operates in three stages: crawling, indexing, and serving. Crawling involves automated web crawlers (Googlebot) discovering and downloading content (text, images, videos) from web pages. Indexing analyzes this content, determining its relevance and canonical status, storing it in Google's database. Serving involves matching user queries with indexed pages and displaying the most relevant results, considering factors like user location and device. Google does not accept payment for crawling, indexing or ranking and can't guarantee that the content will be crawled, indexed or served.\n"]] 

  ** LinkedIn  ** Join us on LinkedIn
  ** YouTube  ** Watch our videos
  ** Blog  ** Subscribe to our RSS feed
  ** Podcast  ** Listen to Search Off the Record
  ** X (Twitter)  ** Join us on X (Twitter)

  * Get support
    ** Go to the help forum **
    ** Submit a question for office hours **
    ** Report spam, phishing, or malware **
    ** More support resources **
  * Resources
    ** Do you need an SEO? **
    ** SEO Starter Guide **
    ** Status of Search systems **
    ** Search Console documentation **
    ** Case Studies **
  * Tools
    ** Search Console **
    ** Rich Results Test **
    ** PageSpeed Insights **
    ** AMP Test **

[ ](https://developers.google.com/)

  ** Android **
  ** Chrome **
  ** Firebase **
  ** Google Cloud Platform **
  ** Google AI **
  ** All products **

  ** Terms **
  ** Privacy **
  * Manage cookies 

  * English
  * Deutsch
  * Español
  * Español – América Latina
  * Français
  * Indonesia
  * Italiano
  * Polski
  * Português – Brasil
  * Tiếng Việt
  * Türkçe
  * Русский
  * العربيّة
  * हिंदी
  * ภาษาไทย
  * 中文 – 简体
  * 中文 – 繁體
  * 日本語
  * 한국어
