Vector search at scale, ANN, and how HNSW actually works
Why comparing your query against every stored vector doesn't scale, and the clever shortcut approximate nearest neighbor search uses instead.
9 min readUpdated 2026-09-03context-engineeringragvector-searchhnsw