How Search WorksCore· 30 min read

How Search Engines Work

Google works in three steps — it crawls pages, stores them in an index, then ranks them for each search.

What you will learn

  • Name the three jobs a search engine does
  • Explain crawling and indexing simply
  • See why a page must be indexed before it can rank

Three jobs Google does

Before Google can show your page, it has to find it, understand it, and decide where it belongs. That is three separate jobs:

  1. Crawling — software robots called crawlers (or spiders) follow links across the web and read pages.
  2. Indexing — Google stores what it found in a giant library called the index.
  3. Ranking — when someone searches, Google picks the best pages from the index and puts them in order.

A library analogy

Picture a huge library. The crawler is the assistant who walks every aisle and reads every new book. The index is the catalogue that records what each book is about. Ranking is the librarian handing you the most useful books first when you ask a question.

StepLibrary versionWhat it means for your site
CrawlAssistant reads each bookGoogle must be able to reach your pages
IndexCatalogue stores the bookYour page is saved and can appear
RankLibrarian orders the booksGoogle decides your position

These three steps happen in order, and each one depends on the one before it. A page that is never crawled can never be indexed; a page that is never indexed can never rank. So a missing page is almost always a problem at step 1 or step 2 — not bad ranking, but no entry in the library at all.

A worked example: three pages, three outcomes

Say Sweet Crumbs has three pages. Watch where each one gets stuck:

PageCrawled?Indexed?Can it rank?Why
/eggless-cakesYesYesYesLinked from the menu, good content
/new-offerNoNoNoBrand new, no link points to it yet
/thank-youYesNoNoCrawled, but marked “do not index”

Note: Only the first page can show in Google. The second was never found (no link leads to it — add one or submit a sitemap). The third was read but deliberately kept out of the index. The lesson: before worrying about position, make sure your important pages are crawled AND indexed.

Check if a page is indexed

You can ask Google whether it has a page in its index. Type a special search using the site: command:

A site: search that checks one website for a page about eggless cake
site:sweetcrumbs.in eggless cake

Note: This searches only the website sweetcrumbs.in. If the eggless cake page shows up, it is indexed. If nothing shows, Google has not stored that page yet — so it can never rank.

Watch out: A page that is not indexed cannot rank at all. If your page is missing from Google, fixing crawling and indexing comes first — before any other SEO.

Tip: New pages are not found instantly. Google has to crawl them first, which can take hours to weeks. Good internal links and a sitemap (later lessons) speed this up.

Q. What is the correct order of the three jobs a search engine does?

Answer: Google first crawls (finds and reads) pages, then indexes (stores) them, and finally ranks (orders) them for each search.

✍️ Practice

  1. Run a site: search for any website you like and count how many pages Google shows.
  2. Explain crawling and indexing using your own everyday example.

🏠 Homework

  1. Do a site: search for a local business website. Note whether its main pages appear to be indexed.
Want to learn this with a mentor?

CodingClave runs guided, project-based training (28-day, 45-day & 6-month batches).

Explore Training →