Module 5: Keyword vs Semantic Search

1. Module Introduction: Keyword vs Semantic Search

Overview

This module marks the start of Phase 2: Semantic Search. Here you compare traditional keyword search with vector-based semantic search. You'll see the advantages, the limitations, and when to use each one.

Estimated time: 2-2.5 hours


Module Objectives

  1. Understand keyword search (BM25, TF-IDF)
  2. Understand semantic search (embeddings + cosine)
  3. Compare the two (advantages, limitations)
  4. Design hybrid search (combining the best of both)
  5. Decide when to use each one

Roadmap: 7 capsules

#CapsuleDuration
01Introduction15 min
02Keyword search25 min
03Semantic search25 min
04Comparison25 min
05Hybrid search25 min
06When to use each one20 min
07Capstone exercise25 min

Next capsule: 02-keyword-search.md — TF-IDF, BM25, traditional search.