Skip to content

Search Engine Indexing

1.3.4 Web technologies · Paper 1 · 2 flashcards · 2 questions

Search engines help users find relevant information among billions of web pages.

Definition
A search engine is a system that indexes web pages and allows users to search for content using keywords.

How Search Engines Work

Worked Example
Worked Example: Search Engine Process

Step 1: Crawling
• Web crawlers (spiders/bots) browse the web
• Start from known pages, follow links to discover new pages
• Continuously revisit pages to find updates
• Respect robots.txt files (instructions for crawlers)

Step 2: Indexing
• Analyse page content (text, images, videos)
• Extract keywords and their positions
• Note page metadata (title, description)
• Store in massive searchable database (the index)
• Build relationships between pages (links)

Step 3: Ranking
• When user searches, find matching pages in index
• Apply ranking algorithm (like PageRank)
• Consider hundreds of factors
• Return results in order of relevance

Step 4: Serving Results
• Display search results page
• Show title, URL, snippet of text
• User clicks through to visit page