Vector Search in Production: Lessons from the front-line
About the talkPermalink to this heading
Getting vector search to return good results in a notebook is easy. Getting it into production, and keeping it there, is where most projects stall. Gartner predicted that at least 30% of generative AI projects would be abandoned after proof of concept, and the PoC is where most of the loss happens. A talk about production is mostly a talk about getting out of the PoC with the right evidence.
This talk follows the production lifecycle in five stages: deciding whether you need vector search, designing the proof of concept, validating and tuning, going live, and keeping it running. Each stage ends in checks from a sixteen-item checklist that works on any engine, and every claim on the slides comes from a benchmark in the repo that you can re-run on a laptop.
The test bench is an ecommerce catalogue: Amazon's ESCI shopping queries joined to Amazon Reviews 2023, 448k products with text vectors (Qwen3-Embedding-0.6B), image vectors (SigLIP) and BM25, with relevance labels from human annotators topped up by an LLM judge.
What's coveredPermalink to this heading
- When you need vector search. Shoppers who type brand names are served well by BM25; shoppers who describe a need are served better by vectors. Hybrid search isn't a magic bullet: it cuts searches with no exact match in the top 5 from 13.7% (BM25) to 10.7%, and fusing 100 candidates per arm rather than 10 is where the gain comes from.
- Proof of concept design. Score every search three ways: recall against exact search, nDCG against relevance labels, and latency. Recall only says the index agrees with exact search, not that exact search is any good: adding image vectors to text gained 6.9 points of nDCG, more than the entire HNSW
efsweep. Test on real search logs, not engineer-written test queries (rewording the same 50 searches flipped which model won), and on the full catalogue, not a convenient slice. - Filters. IVF runs out of candidates on narrow filters: at
nprobe8 only 127 of 200 filtered searches returned a full page, against all 200 on HNSW. Replay your production filters rather than inventing some. - Validation and tuning. Trace before you tune: in one customer request the database looked like 87% of the time, but the search itself was 4%; most of that time was a call to a hosted embedding API. Business rules matter too: a ×1.5 sale boost dropped nDCG from 0.64 to 0.26 across 1,000 searches, and left a search for an Xbox One X with not a single console on the first page. Build facets from the top results, not the whole catalogue, and choose index and quantisation on nDCG per GB: RaBitQ with SQ8 refine matched FP32's nDCG in about a third of the memory.
- Going live. What happens between a write and a searchable result: partitions that slow unfiltered search, a write storm whose real cost was a 1.2 second p99 window ten minutes after the writes stopped (a five-minute p99 hides it completely), upserted products that vanish from results until their segment seals, and swapping embedding models with a collection alias in 22 ms and no mixed results.
- Keeping it running. Watch technical drift in recall, relevance and latency as the data grows, then climb the metric ladder from model and index through relevance to user behaviour and business outcomes. nDCG is a proxy too: users are the truth.
- The real gotchas. Once the technical blockers are cleared, projects stall on compliance, "we already have X", ownership, procurement, metrics and adoption. Get a solution design covering data residency, AI policy and HA/DR approved early, and put the people who own the results on the team from the start.
The checklistPermalink to this heading
Sixteen checks in four groups, plus a fifth that takes people rather than tests:
- Measure the right thing: real search logs, relevance and recall, judged coverage, drift monitoring.
- Tune the features you ship: production filters, partition tax, facet counts, business rules.
- Know what it costs: resident RAM, nDCG per GB, 10× sizing, re-embed price.
- Survive writes: write bursts, update path, model swap, time to searchable.
- Clear the road to production: a solution design covering data residency, AI policy and HA/DR, approved early.
The full wording, how to check each one, and the evidence behind it are in the prod-vector-search README. The demo is semantic product search over the same Amazon electronics catalogue.
Presented at the London Search & AI User Group in November 2026.