ANSWERS

Vector Search &
Retrieval Answers.

Quick, definite answers to the specific questions that come up when you're building retrieval for AI applications: multi-vector search, hybrid ranking, retrieval for agents. Each page answers one question up front, states the tradeoffs honestly, and links the primary sources.

Multi-Vector Retrieval

5 ANSWERS

Hybrid Search & Ranking

6 ANSWERS

Agents & RAG

5 ANSWERS

Scale & Architecture

11 ANSWERS

Why Object Storage for Vector Search?

At billions of vectors the dominant cost is keeping data hot. Object storage decouples storage from compute, so cost tracks query load, not data size.

3 MIN READ

Why Do Upserts Slow HNSW Reads?

Reads and writes contend on one graph: inserts rewire lists mid-traversal and deletes leave tombstones. Sustained upserts tax every read.

3 MIN READ

Why Do Vector Databases Re-Shard?

Stateful engines pin data to nodes, so growth forces risky migrations. Storage-compute-separated engines pin nothing; there is nothing to rebalance.

3 MIN READ

Does Quantization Hurt Accuracy?

Yes, but recoverably: quantize for candidate selection, then rescore the shortlist at full precision. The loss lands in the tail, not the top results.

2 MIN READ

How Do You Chunk Redundant Documents?

Deduplicate before you embed: canonicalize versions, hash-dedupe chunks, and reach history through filters. Indexing every version multiplies cost.

2 MIN READ

How Do You Benchmark Vector Search?

Benchmark your own workload: mixed read/write load, your filters, and latency percentiles at a fixed recall target. Read-only QPS flatters every engine.

3 MIN READ

Which Recall Number Actually Matters?

Index recall measures whether ANN approximates exhaustive search. Retrieval quality measures whether the right document surfaces. Evaluate quality first.

3 MIN READ

Why Is Regex Search Slow at Scale?

Regex is fast per string and slow per corpus, because every document gets read and tested. An n-gram index that finds candidates first removes most of the work.

4 MIN READ

How Do You Index Text for Regex Search?

Split text into n-grams, keep a posting list per gram, and compile the regex into a boolean expression over the grams it needs. Sparse grams keep it selective.

4 MIN READ

Can You Replace Elasticsearch Without Rewriting Queries?

Yes, if the engine speaks the Elasticsearch API well enough for the official clients: the product header, your mappings, bulk and search, and the query DSL.

5 MIN READ

How Do You Run kNN Search Through the Elasticsearch API?

Map a dense_vector field with dims and similarity, send a knn clause with field, query_vector, and k, and put the filter inside knn so it runs before ranking.

5 MIN READ

Filtering & Multi-Tenancy

3 ANSWERS

Embeddings in Production

2 ANSWERS

Concepts

1 ANSWER