Back to Applied AI Engineering
🔍
Phase 5
Advanced Retrieval & Search Infrastructure
The algorithms that make vector search fast at scale, combining keyword and semantic search with re-ranking, and rewriting queries before they hit the index.
1
Vector Search Internals: HNSW, IVF & Product Quantization
Why exact vector search falls over at scale, and how HNSW, IVF, and Product Quantization trade a little recall for a lot of speed.
hnswivfvector-search
2
Hybrid Search & Re-ranking
Why pure semantic search misses exact error codes and product IDs, and how combining it with keyword search plus a cross-encoder re-ranker fixes it.
hybrid-searchbm25re-ranking
3
Query Rewriting: Expansion, HyDE & Multi-Query
What to do when the user's own words are the problem — rewriting a query before it ever reaches the index, instead of tuning retrieval further.
hydequery-rewritingmulti-query