Chapter 05 · overview · 1 min read
Retrieval Strategies
Having a fast index doesn't yet say what to search it with. This section covers the different ways of turning a user's question into something retrievable, and how to combine them when any single strategy misses too much.
Topics in this section:
- Sparse Retrieval with TF-IDF and BM25: ranking by matching words, still a strong baseline.
- Dense Retrieval: ranking by embedding similarity instead of word overlap.
- Hybrid Retrieval Fusion: combining sparse and dense rankings into one.
- Query Expansion and Rewriting: improving a query before it's ever searched.
- Hypothetical Document Embeddings (HyDE): searching with a guessed answer instead of the question itself.
- Multi-Hop and Iterative Retrieval: when one search isn't enough to answer the question.