Loading lesson…
Level 1 · Apprentice0 XP
Combine keyword and meaning search, then let a reranker pick the best passages.
Step 1 / 6
ProblemA user asks about error E-4012. Vector search returns passages about errors in general, because the exact code carries little 'meaning'. The page with E-4012 is ranked 40th.
← → step
Before this: Vector search and vector databases
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Add BM25 (PostgreSQL full-text search or the rank_bm25 library) next to vector search, merge with reciprocal rank fusion, and compare recall@8 on 30 questions that include exact codes or names.