AI GLOSSARY
Vector Databases and ANN Search
Vector retrieval is an indexing and systems problem, not only an embedding problem.
Simple explanation
Exact search becomes expensive as collections grow. ANN indexes such as HNSW search a structured graph or partitioned space to retrieve strong candidates without comparing against every vector.
Technical explanation
Exact search becomes expensive as collections grow. ANN indexes such as HNSW search a structured graph or partitioned space to retrieve strong candidates without comparing against every vector.
Example
Trace how Query vector becomes Nearest candidates through ann index.