Vector DatabasesAdvanced22 August 2026
Why do large vector databases often use approximate nearest-neighbour indexes instead of comparing a query vector with every stored vector?
Pick an answer to see the explanation.
Answer
Approximate indexes trade a small amount of recall for much faster search at large scale
An exhaustive search can become expensive as the number and dimensionality of vectors grow. Approximate nearest-neighbour indexes such as HNSW reduce the search space dramatically, improving latency and scalability while accepting a configurable trade-off between speed, memory usage, and recall.
Learn more: Explore vector databases for AI applications →