Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Rethink reranking
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

Rethink Reranking

Source: Qdrant•December 2, 2026 at 07:08 PM

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…

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.

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.

  • 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.
  • Find your reranker’s job in the following table. Each row links to the scenario where a team moved that job into the query.
  • 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.
  • 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 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

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.

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

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.

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

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.

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

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.

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

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.

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

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.

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.

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.

← All articles

What this article says

More in Software Development

All →
4 Ways to Get Started with AI-Assisted Feedback
Powerschool

4 Ways to Get Started with AI-Assisted Feedback

Salesforce Quarterly Highlights: FY27 Q3 Product Releases and Corporate Announcements
Salesforce Commerce

Salesforce Quarterly Highlights: FY27 Q3 Product Releases and Corporate Announcements

Critical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858): Update to 2026.1.7, 2026.2.3, or 2026.3 Now
JetBrains

Critical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858): Update to 2026.1.7, 2026.2.3, or 2026.3 Now

TeamCity 2026.2.3 and 2026.1.7 Bug-fixes
JetBrains

TeamCity 2026.2.3 and 2026.1.7 Bug-fixes

What Enterprise Teams Actually Need from a Reporting Solution
Telerik

What Enterprise Teams Actually Need from a Reporting Solution

Wondering About ProcessOS: How to Get It, Licensing, and Early Access
Camunda

Wondering About ProcessOS: How to Get It, Licensing, and Early Access

More from Qdrant

How Moonsift Shipped AI Shopping Search Over a Catalog It Rewrites Every Day
Qdrant

How Moonsift Shipped AI Shopping Search Over a Catalog It Rewrites Every Day

Does a Code-Tuned Embedding Model Pay Off? papr-embed-code-1 in Qdrant
Qdrant

Does a Code-Tuned Embedding Model Pay Off? papr-embed-code-1 in Qdrant

How to Run an Embedding Model on Bare Metal
Qdrant

How to Run an Embedding Model on Bare Metal

Faster and Cheaper Search With Qdrant 1.20
Qdrant

Faster and Cheaper Search With Qdrant 1.20

Scalable PDF Retrieval with Cohere Embed 5 and Qdrant Asymmetric Quantization
Qdrant

Scalable PDF Retrieval with Cohere Embed 5 and Qdrant Asymmetric Quantization

Qdrant 1.20 - Full-Text Search Improvements
Qdrant

Qdrant 1.20 - Full-Text Search Improvements