All articles
Vector index tradeoffs explained from the documentation: HNSW against IVF, why recall drops, and how to size memory for an approximate search index.
-
Qdrant Snapshot Backup and Restore: Test One Collection
Create and download a Qdrant collection snapshot, restore it into an isolated test instance, and verify points and application behavior.
-
How to Shard a Large Vector Index Without Losing Recall
Hash-partition by ID, size shards to fit RAM, fan out with full top-k per shard and merge. Shard counts, routing and fan-out tail latency math.
-
pgvector IVFFlat Index Tuning: Lists, Probes and Recall
Build a cosine IVFFlat index in pgvector, verify exact and indexed query plans, then tune probes to meet your recall and p95 latency targets.
-
What Is Reranking in Vector Search? A Practical Guide
Learn how reranking improves vector search relevance, measure nDCG and candidate recall, and instrument a PyTorch reranker without hiding latency costs.
-
Product Quantization Explained for Vector Search
Learn how product quantization compresses embeddings, how IVF-PQ changes recall, and how to evaluate a Faiss index with MLflow before deployment.
-
Cosine Similarity vs Dot Product: How Rankings Differ
Vector norms determine when cosine similarity and dot product rank results identically and when magnitude changes retrieval order.
-
HNSW ef_search Parameter: Recall and Latency Tradeoffs
The HNSW ef_search parameter sets query beam width, balancing recall against latency across vector search engines and filtered queries.
-
How to Benchmark Recall at K for ANN Indexes
The guide explains exact ground truth, tie-safe recall@k, controlled efSearch sweeps, latency measurement, and how to interpret vendor benchmarks.
-
How to Choose a Vector Database for Production
The guide compares pgvector, Qdrant, Milvus, Weaviate, Pinecone, and Elasticsearch by recall, filters, latency, memory, cost, and operational fit.
-
HNSW M Parameter Tuning: Recall, Memory, and Latency
Tune HNSW M with a sweep of graph sizes and search settings. Compare recall@k, p99 latency, and index size before choosing a configuration.
-
Hybrid Search: BM25, Vector Retrieval, and Score Fusion
This guide explains how BM25 and vector retrieval complement each other, why raw scores cannot be combined, and how RRF and alpha fusion work.
-
pgvector vs Pinecone: Cost, Recall, and Filtering
Choose pgvector or Pinecone for production RAG. Compare filtered recall and p99 on the same queries, then estimate monthly costs at your traffic.
-
Qdrant vs Weaviate vs Milvus: Recall, RAM, and Scale
This comparison covers filtered recall, memory and quantization options, cluster design, multi-tenancy, and scaling across the three engines.
-
HNSW vs IVF: Vector Index Tradeoffs Compared
HNSW vs IVF vector index tradeoffs: how graph and inverted-file designs compare on memory, build cost, recall tuning, updates, and filtering.
-
Low Vector Search Recall: Causes and Fixes
Why an approximate index returns the wrong neighbours: candidate lists too small, metric mismatch, filters, tombstones, and how to measure recall properly.
-
Vector Database Memory Sizing for RAM, Disk and Overhead
Estimate vector database RAM and SSD per copy and per node. Calculate embedding bytes, HNSW graph overhead, and capacity for replicas and rebuilds.
-
Vector Search Fundamentals: Embeddings, ANN and Recall
What an approximate nearest neighbor index does, how graph and cluster based indexes differ, and how quantization trades memory against recall.