How Search Works

How Google and Bing turn the open web into an answer — the crawl → index → serve pipeline as three gates, with rendering, canonicalization, and ranking systems explained.

First published: Jun 22, 2026 · Last updated: Aug 2, 2026 · Advanced
demand #22 in How Search Works#121 in Technical SEO#158 on the site
1 evidence signal on this page

Search works in three stages — crawl → index → serve — and they're gates, not a conveyor belt: 'not all pages make it through each stage.' Getting crawled doesn't mean you're indexed (indexing isn't guaranteed), and getting indexed doesn't mean you rank. Indexing includes rendering and canonicalization; ranking is many automated systems, not one algorithm. This hub frames the whole journey and routes you to the deep dives — starting with the crawling cluster.

Explore this topic

Loading local progress…

Diagnose an Indexing Problem

Trace discovery, crawling, directives, and canonicalization before validating a URL.

View the full learning path
Follow the guided pathStart with the first guide →
  1. CrawlingHow search engines discover and download the web — Googlebot and Bingbot, URL discovery, the crawl scheduler, rendering, and how crawling differs from indexing and ranking. The hub for everything crawl-related.
  2. Robots.txtWhat robots.txt actually does — it controls crawling, not indexing — plus the exact syntax, how Google handles it under the hood, and the mistakes that break sites.
  3. SitemapsWhat a sitemap is, whether you need one, the types (XML, HTML, image, video, news), how to find, create, and submit one, and why sitemaps help discovery but never guarantee indexing.
  4. IndexingHow search engines store and organize pages so they can rank — content analysis, canonicalization, why crawled isn't indexed, and reading the GSC Page indexing report.
  5. CanonicalizationHow search engines pick one canonical URL among duplicates and consolidate ranking signals onto it — why rel=canonical is a hint, not a rule, and how to align every signal.
  6. URL Inspection ToolHow Google's URL Inspection tool reports a single URL — the indexed snapshot vs the live test, reading the coverage panel, canonicals, Request Indexing, and the API.

Every published guide in this hub, grouped by the site taxonomy.

All How Search Works guides72

TL;DR — Search runs in three stages — crawl → index → serve — and they’re gates: “not all pages make it through each stage.” Crawling discovers and fetches; rendering (running JavaScript in a recent Chrome) is the bridge into indexing, and it can lag. Indexing = understand + canonicalize (~40 signals)

  • store, and it isn’t guaranteed. Serving = understand the query, then rank with many automated ranking systems (RankBrain, BERT, neural matching, link/PageRank systems…) — not one “algorithm” — across hundreds of contextual factors, with search features layered on top. Bing runs the same shape. Treat any diagram (including mine) as a model, not the source code. The payoff: when a page isn’t showing up, diagnose which gate it’s stuck at.

Three stages, three gates

Google is blunt about the pipeline: “Google Search works in three stages, and not all pages make it through each stage” — crawling, indexing, and serving. Evidence for this claim Google describes Search as operating through crawling, indexing, and serving search results. Scope: Google's public conceptual model, not an exhaustive implementation description. Confidence: high · Verified: Google: How Search works That last clause is the whole game. The pipeline is not a conveyor belt that carries every page to the finish; it’s three gates, each with its own pass/fail and its own failure mode.

The mental model to anchor everything:

Discover & fetch (crawl) → understand & store (index, including render + canonicalize) → match & order (serve, including query understanding + ranking systems + search features).

Keep crawl ≠ index ≠ rank separate in your head and most of technical SEO stops being mysterious.

Crawl, index, and serve are sequential eligibility gates—not guarantees and not one ranking scoreboard. Source: /technical-seo/how-search-works/

Three stages run left to right. Crawl: a bot discovers a URL and downloads the page. Index: the engine processes the page and stores eligible information. Serve or rank: the best indexed matches are ordered for a query. A note says not every page advances through every stage.

© Patrick Stox LLC · CC BY 4.0 ·

Stage 1 — Crawling (discover & fetch)

Crawling is discovery plus download. Google finds pages it already knows, follows links from known pages to new ones, and reads sitemaps you submit — Google calls the whole thing “URL discovery.” What gets crawled, how often, and how many pages per visit is decided algorithmically: “Googlebot uses an algorithmic process to determine which sites to crawl, how often, and how many pages to fetch from each site.”

Evidence for this claim Google's crawling stage discovers URLs through known pages, links, and submitted sitemaps, then algorithmically decides which discovered URLs to fetch and how often. Scope: web Confidence: high · Verified: In-depth guide to how Google Search works

The one takeaway at this altitude: crawling is a prerequisite for indexing, not a ranking signal. Evidence for this claim Google states that not all pages make it through each Search processing stage and that increased crawl rate is not a ranking signal. Scope: Google Search; crawling and indexing do not guarantee ranking. Confidence: high · Verified: Google: How Search works Google: Crawling myths A higher crawl rate doesn’t lift your positions. I won’t re-derive the crawl pipeline here — discovery, the crawl scheduler, crawl budget, log files, and the rest live in the crawling cluster (linked at the bottom). Crawling’s real job is to hand a fetched page off to the next stage.

One caveat before moving on: crawling is how web pages enter this pipeline, but it isn’t Google’s only source of information. As I cover below, the index also draws on partnerships, data feeds, and Google’s own Knowledge Graph — so “not in the index” and “not on the crawled web” aren’t quite the same question.

The bridge — rendering

Here’s the step most overviews get wrong or skip. Between crawling and indexing, Google renders the page. “During the crawl, Google renders the page and runs any JavaScript it finds using a recent version of Chrome.” In Google’s own consumer words: “When crawlers find a webpage, our systems render the content of the page, just as a browser does.”

Rendering is part of indexing, not crawling — it runs in the Web Rendering Service (an evergreen, headless Chromium), and it can lag the initial fetch. If your content only appears after JavaScript runs, the version Google understands is the rendered version, and that may show up later than the raw HTML did. This is why JavaScript-heavy sites need to think about rendering as its own concern. (I go deep on this in my JavaScript SEO writing.)

Stage 2 — Indexing (understand & store)

Once a page is crawled and rendered, indexing tries to make sense of it. Google: “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 and alt attributes, images, videos, and more.”

Three things happen here that overviews usually miss:

Understand. Google processes the text, tags, and media to work out the topic. In my own How Search Works deck I describe this as a content parser that normalizes the HTML, tokenizes it, and vectorizes the content (turning words into numbers) so the meaning can be analyzed — language, location, schema, and topic/semantic signals get extracted along the way. (That’s my paraphrase of how the processing works, not a Google quote.)

Canonicalize. Indexing also decides which URL represents a set of duplicates. “During the indexing process, Google determines if a page is a duplicate of another page on the internet or canonical. The canonical is the page that may be shown in search results.” Google clusters the duplicates and picks one canonical to stand for the group. This isn’t a coin flip — it’s a signal-weighted decision. As I cover in Google Uses ~40 Canonicalization Signals, “canonicalization is the process that search engines use to determine the main version of the URL that will be indexed and shown to users when there are duplicate URLs” — and according to Google’s Allan Scott, there are ~40 different canonical selection signals (redirects, rel=canonical, sitemap URLs, internal/external links, hreflang, PageRank, HTTPS over HTTP, shorter URLs over longer, and more).

Store. “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.” That index is enormous — “hundreds of billions of webpages… well over 100,000,000 gigabytes in size” — and it’s not only crawled HTML: “we have multiple indexes of different types of information, which is gathered through crawling, through partnerships, through data feeds being sent to us and through our own encyclopedia of facts, the Knowledge Graph.”

Indexing isn’t guaranteed

The critical myth-buster: getting crawled doesn’t get you indexed. Google: “Indexing isn’t guaranteed; not every page that Google processes will be indexed.” Common causes are low-quality content, a robots noindex, and page design that makes indexing difficult.

John Mueller has put a human voice on this. On how long “discovered/crawled — currently not indexed” can last: “That can be forever. It’s something where we just don’t crawl and index all pages.” And the fix isn’t a trick — it’s substance: “continue working on the website and making sure that our systems recognize that there’s value in crawling and indexing more and then over time we will crawl and index more.”

I’ve proven crawl ≠ index from the other direction too. In Indexed, though blocked by robots.txt the point is simple: “crawling and indexing are two different things.” A page you block from crawling can still get indexed if other pages link to it — Google just can’t see its content (or any noindex you put there).

Stage 3 — Serving results (match & order)

Serving is what happens the instant someone searches. “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.” But there are two distinct moves inside that.

First, understand the query

Before anything gets ranked, Google has to understand what you asked. That means spelling correction, synonyms and query expansion, and figuring out intent. In my How Search Works deck I describe this as spelling correction via a deep neural net, query expansion across synonyms/acronyms/stemming, and neural matching that links conceptually related terms — with a meaningful share of daily queries being ones Google has never seen before. (Paraphrase, from the deck.) Query understanding is its own step; it’s not the same as ranking.

Then, rank — with many systems, not “the algorithm”

This is the big correction. Ranking is not one formula. “Google uses automated ranking systems that look at many factors and signals about hundreds of billions of web pages and other content in our Search index to present the most relevant, useful results, all in a fraction of a second.” Note the plural — ranking systems. Google names several: RankBrain (“an AI system that helps us understand how words are related to concepts”), BERT, neural matching (“an AI system that Google uses to understand representations of concepts in queries and pages and match them to one another”), and link analysis systems and PageRank (“we have various systems that understand how pages link to each other…”). The helpful content system is described in the past tense now — it was folded into core ranking in the March 2024 update, so it’s no longer a standalone live system.

Two distinctions worth teaching:

  • Systems ≠ updates. The ranking systems are the ongoing machinery; ranking updates are the changes Google launches to them. They’re tracked separately.
  • There’s no fixed “top 3 factors.” Gary Illyes has pushed back on the idea that links are a top-three factor — “I think they are important, but I think people overestimate the importance of links. I don’t agree it’s in the top three. It hasn’t been for some time.” He’s also said “it is possible to rank without links.” And Illyes has argued there isn’t even a universal “top three,” because different sites have different top signals (that framing is Search Engine Land’s paraphrase of him, not a verbatim quote).

The five factors Google names

For a beginner-friendly map, Google’s consumer site breaks ranking into five buckets:

  1. Meaning of your query“To return relevant results, we first need to establish what you’re looking for - the intent behind your query.”
  2. Relevance of content“The most basic signal that information is relevant is when content contains the same keywords as your search query.”
  3. Quality of content“they identify signals that can help determine which content demonstrates expertise, authoritativeness, and trustworthiness.” (Google’s own words here are E-A-T — expertise, authoritativeness, trustworthiness; the “experience” E that makes E-E-A-T is my gloss, not theirs in this quote.)
  4. Usability of content — page experience and accessibility considerations.
  5. Context and settings“we use information such as your location, past Search history, and Search settings to determine what is most relevant for you.”

Relevance is contextual: “Relevancy is determined by hundreds of factors, which could include information such as the user’s location, language, and device (desktop or phone).” And the weighting shifts by query — “when searching for current news topics, content freshness plays a bigger role than dictionary definitions.” There is no single “best” result that’s the same for everyone.

Serving also decides what the page looks like. “Based on the user’s query the search features that appear on the search results page also change.” Knowledge panels, rich results, images, video, local packs — those are part of serving, not a separate system bolted on. And to kill two persistent myths: “we never provide special treatment to advertisers in how our search algorithms rank their websites, and nobody can pay us to do so.” You can’t buy organic position, and submitting a URL only signals — it doesn’t guarantee indexing or ranking.

Bing runs the same shape

Bing follows the same crawl → index → rank pipeline, just named its own way. Microsoft: “Crawling is how Bingbot discovers new and updated pages and content to add to our search index.” Then “as Bingbot crawls the web, it sends information to Bing about what it finds. These pages are then added to the Bing index.” And finally “complex algorithms generate Microsoft Bing search results using the user’s search query matching it with third-party webpages in our index.” Bing publishes its own named ranking factors — relevance, quality and credibility, user engagement, freshness, location, and page load time — the clean analog to Google’s five.

It’s a model, not the source code

One honest caveat before you treat any of this as gospel. Search engines tell us a lot, but not everything, and the internals change. Any pipeline diagram — including mine — is a useful approximation, not the actual code. I put this disclaimer right on slide 3 of my How Search Works deck and I’ll repeat it here: “This is my understanding of systems and is based on a lot of public statements from Google and my own knowledge. Warning: It’s not going to be 100% complete or accurate.” Hold the model loosely; use it to reason, not to litigate.

Which stage are you stuck at?

Here’s where the three-gates model pays off. When a page isn’t performing, don’t guess — locate the failed gate, then fix that stage:

SymptomLikely stageFirst things to check
Page isn’t crawled at allCrawlingOrphan page (nothing links to it), blocked in robots.txt, server errors, not in sitemap
Crawled but not indexedIndexingContent quality, noindex, canonicalized to another URL, JS content that never rendered
Indexed but not rankingServing / rankingRelevance to the query, content quality, competition, intent mismatch
Wrong URL rankingIndexing (canonicalization)Duplicate cluster picked a different canonical — check the ~40 signals
JS content missing from the indexRendering (in indexing)Real <a href> links, render lag, WRS limits

The diagnosis tells you which deep dive you need next.

Where to go next

This page is the map. Each stage gets its own depth:

Crawling — the only stage fully built out so far, as its own cluster. Start with the crawling hub, then go deep on crawl budget (capacity + demand and who actually needs to care), crawl rate (how fast bots fetch and how to speed it up or slow it down), crawl frequency (what makes Google re-crawl sooner), and crawl depth (why important pages belong close to the homepage). For diagnosing problems, see log file analysis (the ground truth for what bots actually did) and spider traps (infinite URL spaces that burn crawl budget). To get pages discovered faster, there’s IndexNow (the push protocol Bing and others use) and the Google Indexing API (and the myth that it indexes anything).

Rendering — the bridge between crawling and indexing, now built out in two deep dives. Rendering covers how Google runs your JavaScript in the Web Rendering Service and the rendering options (CSR, SSR, SSG, hydration, ISR, edge, dynamic) and their SEO trade-offs. JavaScript SEO covers the practical problems and fixes — real <a href> links, DOM parity, lazy content, soft-404s, and why infinite scroll can get two pages indexed as one.

Indexing — canonicalization and indexability have their own cluster now; start with the indexing hub.

Ranking — the ranking systems, the signals behind them, and how E-E-A-T fits in are a topic of their own, coming next.

For everything in this cluster in one place, see the How Search Works cluster.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin an expert quote first.