The SearchOdyssey
Learn search by building one. Start with a pile of unsearchable documents and end with a hybrid, geo-aware, RAG-powered engine - in the browser, with every step visible.
14
Modules
14
Live labs
103
Concepts
Live, client-side retrieval over the Archive. Turn on X-Ray to inspect why.
The search bar is already alive. Flip between Contains, BM25, and Hybrid, then turn on X-Ray.
The journey
One engine, fourteen upgrades
Every module adds a capability to the same search bar. Your progress is stored locally, no account required.
Loading progress...
--Foundations
Welcome, and Why Search Is Hard
Search is not about string matching, it is about bridging the gap between an imperfect query and human intent. Learn why relevance is subjective, why two people disagree on rankings, and why we need metrics and golden sets to measure progress.
A Brief History of Search
Trace the evolution of information retrieval: from physical indexes to Boolean logic, vector space models, link analysis, learning to rank, neural retrieval, and RAG. Understand each breakthrough as a response to a specific failure.
String Matching and Text Search Basics
Understand naive substring search, text normalization (case folding, Unicode), and classical algorithms like KMP and Boyer-Moore. See why O(total_chars) per query is unsustainable and why precomputation via indexing is necessary.
The Inverted Index
Tokenize text, build postings lists, run Boolean queries, and see why running shoes should match run and shoe.
Ranking with TF-IDF and BM25
Move from binary matching to probabilistic ranking. Understand why TF-IDF fails on term repetition and long documents, and how Okapi BM25 uses saturation (k1) and length normalization (b) to produce sensible orderings.
Match & Rank
Fuzzy Search and Typo Tolerance
Measure string similarity with Levenshtein and Damerau-Levenshtein edit distance. Generate candidates efficiently with n-gram indexes, understand BK-trees and Levenshtein automata, and learn to tune tolerance to fix typos without flooding results with false matches.
Autocomplete and Query Suggestions
Traverse a trie, weight suggestions by popularity, tolerate typos in prefixes, and respect a tight latency budget.
Geosearch
Draw a radius on a map, prune candidates with spatial indexes, and blend text relevance with distance decay.
Meaning
Vectors and Embeddings
Explore an embedding map, click a document to see its neighbors, and find the faucet answer without sharing a single keyword.
Vector Search at Scale
Compare brute force with ANN, inspect a proximity graph, and trade recall for latency with M and efSearch.
Hybrid Search and Reranking
Blend BM25 and vector results, compare keyword, semantic, and fused lanes, then rerank the final few.
Quality & Generation
Evaluating Search
Label a golden set, compute precision, recall, MRR, and nDCG, and see why the leaderboard changes with the metric.
Retrieval-Augmented Generation
Debug a RAG answer, trace claims to chunks, and break the pipeline on purpose to see how retrieval failures become hallucinations.
Building the Full Search Engine
Assemble the components you built into one pipeline, inspect the architecture, and publish a shareable search experience.
Three layers, one module
Choose your depth
The narrative is for everyone. The lab is where the idea becomes intuition. The deep dive is for the engineers who want the real machinery.
Story
A narrative and a stumper. Meet the idea as the answer to a failure you have already seen.
Lab
Turn the dials. Run the query. Open X-Ray and see exactly why the ranking changed.
Deep dive
The math, implementation notes, real-world systems, and papers for learners who want the machinery.
By the end
You will be able to defend a search design, not just describe one.
The capstone asks you to assemble the pipeline and explain the tradeoffs: precision vs. recall, keyword vs. semantic, freshness vs. cost, and retrieval quality vs. generation quality.
No signup. No API keys. No backend for the core labs.