Vector DBs & RAG (50 Qs)•Part 2: Core Architecture & Implementation (Mid-Level)
What is Hybrid Search and why does it combine BM25 and Vector Search?
senior LevelMost AskedSystem Design
In Simple Words: Pure vector search excels at conceptual intent ("troubleshoot network dropouts") but struggles with exact lexical terms, error codes, SKUs, and hashes ("ERR_CONN_REFUSED_404").
- Hybrid Search: Executes BM25 lexical search and Dense Vector search in parallel.
- Fusion: Merges results into a single ranking using algorithms like Reciprocal Rank Fusion (RRF).