awesome-everything RU
↑ Back to the climb

Data Engineering

Vector search: free-recall review

Crux Free-recall prompts across the vector-search unit — answer each from memory first, then reveal the model answer and compare.
Your altitude — climbing toward senior
ZeroJuniorMiddleSenior
You are at senior altitude — in orbit
◷ 14 min

Retrieval beats re-reading. For each prompt, say or write a full answer from memory before you open the model answer — the effort of recall is what makes the material stick.

Goal

Reconstruct the unit’s spine — the recall–latency–memory triangle, why recall fails silently, HNSW vs IVF vs IVF-PQ, metric choice, post-filtering, and hybrid search — without looking back at the lesson.

Recall before you leave
  1. 01
    Why is a low-recall ANN index so dangerous in production, and how do you actually detect it?
  2. 02
    Describe the recall–latency–memory triangle and which knob moves which axis in HNSW.
  3. 03
    When do you choose HNSW, IVFFlat, or IVF-PQ, and what does each cost?
  4. 04
    How do cosine, dot product, and L2 relate, and how do you choose a metric?
  5. 05
    Why does metadata filtering interact badly with ANN, and how does pgvector address it?
  6. 06
    What is hybrid search, when do you need it, and how does Reciprocal Rank Fusion combine results?
Recap

If you could reconstruct each answer from memory, you hold the unit’s spine: recall fails silently so you measure recall@k against an exact baseline; the recall–latency–memory triangle is dialed by M, ef_construction, and ef_search; HNSW is the default while IVF-PQ is the memory-driven escape hatch; the metric must match the model and the index opclass; selective filters collapse post-filtered recall until you use iterative scan; and hybrid BM25 + vector with rank fusion is the answer whenever exact tokens matter.

Continue the climb ↑Vector search: code and query reading
shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources3
expand
  1. 01
  2. 02
  3. 03

Trademarks belong to their respective owners. Editorial reference only.