ANN indexes
Properties
tags
cscs/databases
created
29.10.2024, 13:28
modified
13.08.2026, 14:20
published
Empty
sources
Empty
topics
ANN Indexes, Partition-based Indexes, Hash-based Indexes, Graph-based Indexes
authors
Empty
ai-assisted
No
The goal of the index is to prevent scanning the whole database to retrieve the answer. In the case of k-ANN search, that means performing distance computation between the query and each object in the database. Performing distance computation is the most expensive operation in k-ANN search (LI in VDBMS).
Therefore, we use an index that tries to minimize the number of these operations. ANN indexing algorithms can be categorized roughly into three groups: partition-based (e.g. IVF-PQ), hash-based (e.g. LSH) and graph-based (e.g. HNSW). Almost all vector databases use graph-based algorithms nowadays. More specifically, they employ the Hierarchical Navigable Small Worlds (HNSW) algorithm.
# Categorization
# Filtered Search
- The Achilles Heel of Vector Search Filters
- 2025-05-09 — Why filtered ANN often slows search: pre/post/integrated strategies compared across HNSW and IVF-PQ, benchmarks across Faiss/Pinecone/Qdrant/Weaviate, and filter-fusion via metadata-encoded embeddings