Blog Archive
Brute-Force Scans: When Linear Search Is Actually the Fastest Option
Why exhaustive vector scans still beat ANN indexes for small to medium corpora, and how SIMD makes brute force surprisingly competitive.
Filtered Vector Search and the Pre-Filter vs Post-Filter Problem
Why metadata filters break naive vector search, the difference between pre-filtering and post-filtering, and how databases handle both.
HNSW Explained: Hierarchical Navigable Small World Graphs
How the HNSW index works: multi-layer navigable small-world graphs, greedy descent, and why it dominates modern vector search.
HNSW Parameters: M, efConstruction and efSearch Tuning
A practical guide to tuning HNSW parameters: what M, efConstruction and efSearch do, how they trade memory, build time, recall and latency.
Hybrid Search: Combining BM25 Keyword Scores With Vector Similarity
How hybrid search blends BM25 keyword ranking with dense vector similarity to catch exact terms and paraphrase alike, plus fusion techniques.
Inner Product vs Cosine Similarity: Why Normalisation Matters
Understand the difference between inner product and cosine similarity, and why normalising your embeddings changes search results.
IVF Indexes: Centroid Partitioning for Coarse-to-Fine Search
How inverted file (IVF) indexes use k-means centroids to partition vector space for fast coarse-to-fine similarity search, and how to tune nprobe.
Locality-Sensitive Hashing for Near-Duplicate Detection
How locality-sensitive hashing puts similar items into the same buckets, and why it is a classic tool for near-duplicate detection at scale.
Metadata Filtering Strategies for Selective Similarity Search
Practical strategies for metadata filtering in vector search: partitioning, hybrid indexes, selective fallbacks, and schema design that keeps recall intact.
Product Quantisation: Compressing Vectors Without Wrecking Recall
How product quantisation splits vectors into subvectors and compresses each with a codebook, cutting memory 8-64x while preserving search quality.
Reading ANN-Benchmarks Plots: What Those Recall-vs-Latency Curves Really Say
How to interpret ANN-Benchmarks recall-vs-QPS plots: what the curves mean, where algorithms win, and how to read index size and build time.
Recall, Latency and QPS: The Vector Search Performance Triangle
Understand the three competing axes of vector search performance — recall, latency and QPS — and how tuning one pulls on the other two.