Billions of Pages, Half a Second

You type "best biryani near me" and in under a second Google shows ranked results, a map, reviews and maybe an AI overview. To do that, Google has already visited and organised a huge part of the web before you searched.

Google explains Search as three stages: crawling, indexing and serving results. This post walks through each, with what it means if you run a website (like this one).


๐ŸŽฏ Quick Answer (30-Second Read)

  • Crawling: Googlebot discovers and downloads pages by following links and reading sitemaps.
  • Indexing: Google processes each page (text, images, links, structured data) and stores it in the Search index, picking a canonical version of duplicates.
  • Ranking: for each query, Google's ranking systems order matching pages using many signals: relevance, quality, usability, freshness and context like your location.
  • AI systems such as BERT and neural matching help understand what queries and pages mean.
  • For site owners: be crawlable, be indexable, and be genuinely helpful.

The Three Stages

flowchart LR W["๐ŸŒ The web"] --> C["1. Crawling
Googlebot fetches pages
via links + sitemaps"] C --> R["Rendering
runs JavaScript like
a browser"] R --> I["2. Indexing
analyse content,
pick canonical,
store in index"] I --> IDX[("Search index")] Q["๐Ÿ”Ž Your query"] --> S["3. Serving & ranking
find matches,
order by many signals"] IDX --> S S --> RES["Results page"]

Stage 1: Crawling

Google has no central list of all web pages. Googlebot finds pages by:

  • Following links from pages it already knows
  • Reading sitemaps that site owners submit
  • Revisiting known pages to check for changes

It decides how often and how much to crawl each site, balancing your server's capacity with how important and fresh the content seems. Pages blocked by robots.txt aren't crawled.


Stage 2: Indexing

For each crawled page, Google:

  1. Renders it (runs JavaScript, like a browser) to see the final content
  2. Analyses text, titles, headings, images, video and structured data
  3. Groups duplicates and chooses a canonical URL to show
  4. Stores the information in the Search index

Not every crawled page gets indexed. Thin, duplicate, low-quality or noindex pages may be left out.

For site owners: "Discovered, currently not indexed" and "Crawled, currently not indexed" in Search Console usually mean Google found the page but didn't consider it valuable enough yet, or hasn't got to it. Better content and stronger internal links help more than resubmitting.

Stage 3: Ranking

When you search, Google finds matching pages in the index and orders them. Google says its ranking systems consider factors including:

Factor What it means
Meaning of the query What you're actually looking for, including synonyms and intent
Relevance Does the page's content match the query?
Quality Expertise, trustworthiness and helpfulness of the content
Usability Mobile-friendliness, page experience, speed
Context Your location, language and settings

Google uses many automated ranking systems, including AI systems like RankBrain, neural matching and BERT, which help it understand language beyond exact keywords. Systems also target spam and reward helpful, people-first content.


Inside a Query

sequenceDiagram participant U as You participant G as Google participant I as Search index U->>G: "how does upi work" G->>G: Understand intent (explainer, India) G->>I: Retrieve candidate pages I-->>G: Thousands of matches G->>G: Rank by relevance, quality,
usability, context G-->>U: Results + features (snippets,
AI overview, videos)

What This Means for Your Website

  • Crawlable: important pages linked from other pages; a clean sitemap.xml submitted in Search Console
  • Indexable: no accidental noindex, correct canonical tags, content visible after rendering
  • Helpful: answers the searcher's question clearly and completely
  • Trustworthy: accurate, sourced, written by someone who knows the topic
  • Usable: fast, mobile-friendly, readable
  • Patient: new sites and pages can take time to be crawled, indexed and ranked

Frequently Asked Questions

How does Google decide which page ranks first?

Google's ranking systems weigh many factors, including how well a page matches the meaning of the query, the quality and helpfulness of its content, usability such as mobile-friendliness, and context like the searcher's location and language. No single factor decides rankings.

How long does it take Google to index a new page?

It varies from hours to weeks. It depends on how often Google crawls the site, how the page is linked internally, whether it's in a submitted sitemap, and whether Google considers it valuable enough to index. Requesting indexing in Search Console can help for important pages.

Does Google index every page it crawls?

No. Google may skip pages that are duplicates, thin, low quality, blocked with noindex, or not considered useful enough. Search Console's page indexing report shows which pages are indexed and why others aren't.


Conclusion

Google Search works in three stages: crawling to discover pages, indexing to understand and store them, and ranking to order the best matches for each query using many signals and AI systems. For website owners, the path is simple to state and hard to fake: be crawlable, be indexable, and be genuinely useful.


Sources

Last verified: 2 November 2026.


Related reads: How the YouTube Algorithm Works ยท Google Maps System Design ยท How Does Perplexity Make Money? ยท Bloom Filter Explained

I explain the tech behind everyday products. Follow on LinkedIn or X, or invite me to speak.