0

Rethink Reranking

Meina Ghafouri

·

November 30, 2026

Rethink Reranking

Run every ranking stage your query can carry inside Qdrant, and pay for an external model only where it measurably beats a tuned query.

What Does It Take to Put the Right Answer First?

Picture a clinician searching a hospital’s drug-label library for “paracetamol dose for a 4-year-old.” Getting the dosing table to the top is a combination therapy of exact wording, meaning, label rules, and judgment, and each one interacts with the others:

  • Match the words. Drug names are exact. Celebrex and Celexa are spelled two letters apart and are different drugs (an anti-inflammatory and an antidepressant), so a near-spelling is a wrong answer.
  • Match the meaning. The US label for the same drug says “acetaminophen” and may never use the word “paracetamol” at all.
  • Follow the rules. Only the current label version counts, and only its pediatric section.
  • Put the best answer first. The dosing table for ages 2 to 11 belongs above the general warnings, even though both mention the drug.

The clinician’s query is matched by words and by meaning, filtered by the label rules, then ordered so the dosing table comes first

Qdrant’s query already does that work, so you can save the model for the judgment calls.

Keyword search alone misses the label that says “acetaminophen,” and vector search alone can rank Celexa right next to Celebrex. So most search teams run both, often with a database for filters, and code that merges whatever each returns. Then a reranking model orders the merged list, and it can only reorder what it’s handed. If the right label never made the list, no model will find it.

Qdrant runs these jobs as stages inside the query: keyword and vector retrieval side by side, filters at every stage, fusion by rank or by score, then rescoring and formula boosts such as favoring the latest guidance. A reranker you keep scores the 10 or so strongest candidates that come out the other end. Qdrant prepares the candidates, and your model makes the final call on their order.

Where Should Your Reranker Budget Go?

Most teams add a reranker after a benchmark shows it helps, and that’s a fair reason. Look closer, though, and much of what the model does is sorting: putting the current, in-stock, in-policy results first.

  1. Sort exact from similar. Put prices, label versions, locations, and stock in payload filters, and let vectors handle the similarity work. An exact rule deserves an exact filter.
  2. Find your reranker’s job in the following table. Each row links to the scenario where a team moved that job into the query.
  3. Make a tuned query the bar to beat. Tune fusion first, and keep a reranker only if its gain holds up on held-out queries.
  4. Try a planned model as a formula or a rescoring vector first. If a model still wins, it plugs in after Qdrant’s stages and scores the short list.
If Your TeamScenarioBusiness Impact
Runs a keyword engine, a filter database, or both beside a vector storePut the Best Fit First Across Keyword and Vector MatchesEvery retriever runs inside the query. Each extra engine’s license, hosting, and sync work come off the bill.
Ranks by price, stock, or shopper preferenceShip Each A/B Test as a Formula ChangeEach A/B variant is a formula change. Engineers ship each test as an edit to the request.
Keeps several vectors per item, or loses rare matchesBring Long-Tail Matches to Page OneEvery match reaches the ranking. Your team defines every representation inside the query.
Keeps its own trained rankerHand Your Model a Short List of the Strongest CandidatesYour model scores a short list. Inference spend follows the candidates you send. Start at 10.
Must keep full precisionServe Regulated Data from Full-Precision VectorsRAM goes to the vectors read first. The rest of the data sits on disk.

If the candidates already hold the right items, the model stays. Measure that gap first: score the candidates as if they were perfectly ordered, then compare with today’s nDCG@10 (normalized discounted cumulative gain at 10, a standard measure of how well the top 10 are ordered).

GlassDollar migrated from Elasticsearch, and its infrastructure costs dropped to roughly 60% of the previous setup’s costs. The team also removed its keyword-specific workarounds. Read the GlassDollar case study

Filters decide what qualifies, and vectors decide what comes closest to what the person asked for.

How Search Teams Moved Their Ranking into Qdrant

Each of the following scenarios shows one version of the many-system setup and how a team moved its ranking into Qdrant.

Put the Best Fit First Across Keyword and Vector Matches

A recruiter searches “senior Rust engineer, Berlin.” Keyword search knows Rust is a language, vectors know a systems programmer fits, and merge code decides who wins.

App engineers tune keyword scoring, and data scientists tune the vectors, so the recruiter’s ranking reflects both teams’ work.

Today, two engines merge in code; in the Qdrant query, BM25 and dense retrieval fuse

Qdrant fuses BM25 and dense retrieval inside the query.

Run BM25 (the standard keyword-scoring function) and dense vectors as prefetches in the query, fuse them with Reciprocal Rank Fusion (RRF) or Distribution-Based Score Fusion (DBSF), and filter at each stage.

Himalayas moved from Algolia and Elasticsearch to hybrid search with payload filters. Read the Himalayas case study

The recruiter sees the Berlin Rust engineer first, because Qdrant fuses keyword and vector matches inside the query, and the merge code the two teams maintained becomes fusion settings they tune together.

Ship Each A/B Test as a Formula Change

A returning shopper wears a size 38 and buys the same two brands every season. Merchandising wants to test how much each signal counts.

Merchandising’s boosts and the weights that data scientists learn from clicks sit in the same formula, so every promotion still fits the shopper’s search.

Ranking by similarity alone, next to ranking with business rules inside the score

With a formula, you add size, brand, and price rules to the similarity score.

Write a formula query that boosts payload matches (matches on each item’s stored metadata), reads stored scores like popularity, and decays by recency. Hold the price range with payload filters, and scale each weight to the fused score.

Sunny Health ranks healthcare providers for its voice agent with geographic reranking, and reports up to 57% lower retrieval latency on complex provider matching than on its previous Postgres pipeline. Read the Sunny Health case study

Merchandising’s next test is a change to a weight in the request, so the team can try how much size, brand, and price each count and keep every promotion relevant to the shopper’s search.

Bring Long-Tail Matches to Page One

A marketplace wants rare and unique items on page one. An analyst types a company’s German name and expects the English record.

Data scientists bring the embeddings, and app engineers bring the trading names, so the analyst’s research agent gets the English record first.

Today, each vector is queried and merged in code; in Qdrant, named vectors feed a rescoring query

Qdrant rescores the candidates against named vectors inside the query.

Store each representation as a named vector, prefetch each one filtered and unfiltered, then rescore with a larger vector than the prefetch used, or with a multivector. For the analyst, BM25 scores each trading name in a list, and Qdrant ranks the record by its best match.

Tripadvisor runs multimodal search across more than a billion pieces of user-generated content about hotels, restaurants, and traveler behavior, in text and images. Read the Tripadvisor case study

The rare item reaches page one because the filtered prefetch searches only the matching items, so it’s among the candidates Qdrant rescores.

Hand Your Model a Short List of the Strongest Candidates

An enterprise retailer ranks its top few hundred results with its own trained model.

Data scientists keep their model, and ML engineers size the list to the app’s latency budget, so every shopper, human or agent, gets the model’s ordering.

Today, the model scores the whole pool; with Qdrant, the stages hand it a short list

Qdrant’s stages narrow the pool to a short list for your model to score.

Qdrant hands your model the candidates after fusion, rescoring, and rules. Start at 10 candidates and raise the count once a win holds, since every candidate takes a forward pass (one run of the model).

Moonsift searches more than 15 million products with Qdrant. “Qdrant’s flexible retrieval strategies allow us to experiment with different ways of capturing shopping intent. Combined with our human evaluation framework, we can continuously refine retrieval and ranking to deliver more relevant results.”

I-chun Han, Lead Machine Learning Engineer, Moonsift

The retailer’s model still makes the final call, now on a short list that Qdrant’s stages have already narrowed, and inference spend follows the candidates it’s sent.

Serve Regulated Data from Full-Precision Vectors

Back to the clinician: for a pediatric dose, every reviewer asks for results from full-precision vectors.

Compliance signs off on the clinician’s results, and finance signs off on the RAM bill.

Every full-precision vector in RAM, next to hot vectors in RAM and the rest on disk

Keep every vector at full precision, with hot vectors in RAM and the rest on disk.

Keep vectors at full precision (float32) and place each in a memory tier: RAM for the prefetch, disk for rescoring. Where policy allows it, add a quantized (compressed) copy and rescore against the originals. Measure first reads from disk against your p99 latency (99% of queries finish within this time).

Bayer keeps quantized vectors in RAM and originals on disk across about 135 million points, then rescores with 3x oversampling. Read the Bayer case study

The clinician’s results come from full-precision vectors, and RAM holds the vectors your queries read most, with the rest read from disk as needed.

Rescore, Rerank, or Fuse: Pick the Trade Your Budget Can Carry

Find yours by experiment. Plan three to five days (a coding agent can run the loop for you). The search-tuning guides walk through each step.

Five steps in three to five days: sample, baseline, tune, challenge, validate

Sample your data, set a baseline, tune it, challenge it with a model, and validate the winner.

Every pattern trades something. Lead with rescoring when storage allows, and use fusion to keep everything inside Qdrant on the leanest budget. Each cost has a unit you can price from your own bill.

PatternWhat You GetWhat It Costs, and How to Price It
Rescoring in the queryA sharper order from a stored vector, with inference optionalStorage, eased by TurboQuant. Price it as the Cloud calculator’s monthly price
External rerankerA model you pickInference on every query: latency and GPU. Price it as searches × candidates × cost per candidate
Fusion (RRF or DBSF)The lightest option, all in QdrantRanks on positions or scores alone, so a model that reads the text can rank higher. Make tuned fusion the bar a reranker has to clear on your queries
Any of them, moved into the queryExtra engines and merge code leave the query pathA saving: each engine’s monthly license and hosting bill, plus engineer hours per month × loaded hourly rate
Any of them, wherever your security team approvesQdrant Cloud with role-based access control, Hybrid Cloud in your own Kubernetes cluster, or Private Cloud, fully air-gappedCovered by Qdrant’s SOC 2 Type II and HIPAA certifications, with reports in the Trust Center

Whichever pattern your queries pick, the order of work stays the same: move the sorting into the query, measure the gap, and keep a model where it wins on your data.

Get Started with Qdrant Free

Get Started