Relevant retrieval w/ predictable latency (daily search tip)


The higher the scale, the stronger the incentive to simplify your retrieval.

There’s two conflicting incentives:

  • Improving relevance: Requiring more complex retrieval to get all the best candidates
  • Improving reliability: Consistent latency and throughput + easier for an infra engineer to manage / debug

What does “simpler retrieval” look like?

  • Single vector retrieval with a few filters
  • A first pass BM25 retrieval with a recency boost
  • An assumption you’re fetching top 1000 and reranking outside the search engine

Of course, how far you sacrifice relevance for reliability requires measurement. And that requires actually deploying your retrieval changes early. Then measuring under actual load using shadow traffic.

Related articles

-Doug

​Events · Consulting · Training (use code search-tips)

You're subscribed to Doug Turnbull's daily search tips where I share tips, blog articles, events, and more. You can always manage your profile:

Doug Turnbull

I share search tips, blog articles, and free events I'm hosting about the search+retreval industry, vector databases, information retrieval and more.

Read more from Doug Turnbull

Hey all, Just a note there's more free retrieval events next week. We'd love for you to join us. Making BlitzRank 15x faster with Jev Monday Nov 30, w/ Collin Prather of Splice Sign up -- https://maven.com/p/98adc9/making-blitz-rank-15x-faster-with-jev LLMs can create high-quality search judgments, but listwise reranking can be slow and expensive. This talk shows how replacing BlitzRank’s LLM oracle with batched Jev pairwise decisions made ranking roughly 15× faster while maintaining—and...

In a world where agents easily drive browsers, why spend time on classic ranking metrics like NDCG? Instead, task an agent with a search use case. See how it fairs in the UI and ranking. In this article, I discuss an alternative eval philosophy. Instead of LLM as a Judge, let agents simulate search users. Observe how they interact with the search app to solve real use-cases. We try to answer the question: can we make search lower effort and easier to accomplish common tasks? Build the...

I am a loyal customer of Alamo Drafthouse and Cinema - a boutique movie theater chain in the US. One nice perk is they allow you to order with a QR code ordering system from your table. Sadly the search doesn't work that well, when you search for "burger" you get "nachos" as the first result. Well that's an annoyance purpose-built for me. So I took it upon myself to recreate the search, then fix it. Did I build vector search? No. Did I try to improve query understanding? No. What I did...