Switching Qdrant to a new embedding model without downtime

Re-embedding a live self-hosted Qdrant collection without downtime, choosing between blue-green collections with an alias swap and named vectors, and proving retrieval quality before queries switch.

On this page

Why switching Qdrant embedding models without downtime needs a plan

Switching a live Qdrant collection to a new embedding model is a re-embedding job plus a controlled cutover, not a configuration change. Every stored vector must be regenerated by the new model, the new vectors must be written to a separate place, and queries must move over only after the team has checked that results are good. Treat it as a project with a rollback path, not an edit to the collection settings.

Teams usually take on this work for a clear reason: the current model is being deprecated by its provider, retrieval quality has gaps that users notice, per-token or hosting costs have changed, or the corpus now needs multilingual coverage that the current model does not handle well. Whatever the trigger, the constraint is the same. Vectors produced by different models are not comparable, because each model defines its own geometry. A query embedded with the new model will return meaningless scores against points embedded with the old one, so old and new vectors cannot share one search space during the switch. Confirm the model's vector dimension and distance metric before planning, since the new collection must match them.

The plan therefore needs two parallel stores of vectors, the live one and the rebuilt one, and a clear point where traffic changes sides. Decide early whether the work will use a blue-green collection pair with dual writes and an alias swap, or named vectors so both embeddings live in one collection. Each path changes who owns the write path, how long storage doubles, and how rollback works. Ask your application team which component generates embeddings, since that component is where the dual-write logic or the second model call will live.

Before any query switches, plan the retrieval checks: a fixed set of representative queries with expected results, a comparison of the old and new top results, and sign-off from the people who own search quality. Write down the rollback trigger and who can execute it. The Qdrant tutorial on migrating to a new embedding model is the natural starting point for the mechanics.

Choosing between blue-green collections and named vectors

Blue-green collections keep the current collection (blue) serving production while you build a second collection (green) with the new embedding model. Your application writes new and changed points to both collections during the transition, and a backfill job re-embeds existing records into green. When green matches blue on retrieval checks, you move the collection alias so queries reach green without a client redeploy.

  • Live traffic: Blue keeps answering every query until the alias moves, so users see no change in availability during the backfill.
  • Storage: Green is a full copy of the collection, including payloads, indexes and replicated shards. Size it at the replication factor you plan to run before you start.
  • Dual writes: The application must write to both collections for the whole backfill. Failed writes to green need a retry queue, or the two collections drift apart.
  • Backfill: Use the insert_only update mode so the backfill skips point IDs that dual writes have already written with the new model.
  • Rollback: Point the alias back to blue. This works only if blue kept receiving writes during the cutover window.

Confirm the alias name, the dual-write code path and the rollback runbook in a staging environment before the work begins.

How to run the re-embedding sequence step by step

The sequence moves live traffic from an old embedding model's collection to a new one in controlled stages, so every switch point has a check and a rollback path. The output is a new collection serving queries, with the old collection kept until the team is satisfied with retrieval quality.

  1. Freeze the model choice and evaluation set

    The team records the chosen new embedding model, its version, its vector size and distance metric, and the preprocessing it expects. Retrieval owners then build a fixed evaluation set of representative queries with known relevant documents, stored outside the database so it cannot drift. Done means the model decision, the evaluation set and the acceptance thresholds are signed off in writing, and nothing in them changes for the rest of the migration.

  2. Create the target collection with matching settings

    Create a new collection that mirrors the source collection's payload indexes, filters and sharding layout, but uses the new vector size and distance metric. Keep the same payload schema so application filters behave the same way. Done means a side-by-side comparison of the two collection configurations shows only the intended vector differences, and the new collection accepts a test point.

  3. Backfill from the source in batches

    A job reads points from the source collection in batches, re-embeds the payload text with the new model, and upserts the resulting vectors and original payloads into the target. Qdrant's points documentation describes update_mode insert_only (introduced in v1.17.0) as skipping points whose IDs already exist, which suits backfill, but the team must confirm how it behaves in the exact Qdrant version they run before relying on it. Done means the job has finished all batches and logs show no unexplained failures.

  4. Enable dual writes for new and changed points

    Until the switch, the application writes every new or updated document to both the old and new collections, so the target does not fall behind during the backfill. Deletes must also be sent to both collections. Done means a sample of fresh writes appears in both collections, and the team has a log of any write that failed on one side so it can be replayed.

  5. Verify counts and payload parity

    The team compares point counts, and samples points by ID to confirm that payloads, filter fields and IDs match between collections. Because the backfill and live writes run in parallel, small differences are expected during the window, so the check should look for a stable gap that closes after replay. Done means counts match after the backfill finishes and the sampled payloads are identical, with any mismatch explained.

  6. Run retrieval checks before switching queries

    Run the frozen evaluation set against the new collection and compare results with the old one, checking recall of known relevant documents, filter correctness and latency under expected load. Review cases where the new model ranks differently, because a better average can still hide regressions for specific query types. Done means the new collection meets the thresholds set in step one, and any accepted regression is documented with an owner.

  7. Move the alias to the new collection

    Point the production collection alias at the new collection in a single operation, so application code keeps using the same alias name and does not change. Keep dual writes running briefly after the swap to catch in-flight traffic, then stop writes to the old collection. Done means queries and writes through the alias return results from the new collection, and monitoring shows normal error rates and latency.

  8. Keep the old collection for rollback

    Retain the old collection and its embeddings for an agreed period, and rehearse the reverse alias swap so a rollback is known to work. Record which snapshot or backup covers the old collection, since restores are constrained by Qdrant's snapshot version rules. Done means the rollback procedure has been tested in a non-production environment, and deletion of the old collection is scheduled only after the retention decision is recorded.

How dual writes, backfill and the alias swap fit together

The flow starts with application writes to the source of truth, which also dual-write to the old and new collections during the migration window. A backfill job reads source records, re-embeds them with the new model and writes them into the new collection. Queries read through a collection alias, so the swap is a single alias change once checks pass. Before switching, compare retrieval results from both collections. If quality drops, point the alias back at the old collection.

Dual writes, backfill and alias swap with the rollback path to the old collection.

Retrieval checks to pass before switching queries

A re-embedded collection is not ready because it indexed without errors. Each check below tests whether the new model returns answers your users can rely on, and each one feeds the decision to move queries from the old collection to the new one. Run them against the new collection while the old one still serves traffic.

Labeled query set from real traffic

Build a query set from logged production searches, sampled across the query types your users actually send, such as short keyword lookups, long natural-language questions and filtered searches. Have domain experts label the relevant documents for each query so you have expected results to score against. Your team sets the pass thresholds with its own domain experts, since acceptable quality depends on the content and the consequences of a wrong answer. Keep the set frozen so both models are judged on identical input.

Recall and overlap against the old model

Run every query against both collections and compare the top results. Measure recall against your labeled expected results for each model, and measure how much the two top-k lists overlap. Low overlap is not automatically a failure, but a drop in recall on the labeled set is a reason to stop. Record the comparison per query type, because an average can hide a segment that got worse.

Filter and payload parity

Confirm that every filter used in production returns the same kinds of results on the new collection. Include tenant or customer identifiers, access-control fields and date or status filters, and check that payload indexes exist on the new collection for each field your queries filter on. A result that leaks across tenants or ignores an access filter fails the gate regardless of its relevance score. Ask whether the new collection needs the same payload schema before any copied points are written.

Score distribution and threshold recalibration

Scores from different embedding models are not interchangeable, so a similarity cutoff tuned for the old model can silently drop good results or admit poor ones. Compare score histograms for the same queries on both collections and reset any score threshold against the labeled set. Check any hybrid or reranking logic that combines scores, since its weights were set for the old score range. Treat this as a separate gate from recall, because recall can pass while thresholds fail.

Latency and resource checks

Run a representative load against the new collection and measure search latency at the percentiles your service levels use, along with memory and disk use. A new model can change vector dimensions, which changes RAM and disk needs, so compare the new collection's footprint with the old one. Confirm the new collection fits on the nodes you run and that the optimizer has finished before you measure. Ask your platform team to confirm the production capacity headroom needed for both collections during the overlap period.

Canary and percentage cutover

Move a small share of live query traffic to the new collection behind a flag, compare user-facing signals and error rates against the control group, and widen the share in steps. Keep the old collection and the alias pointing at it until the canary passes, so rollback is a configuration change rather than a re-embedding run. Define in advance which signals stop the rollout and who can reverse it. Retire the old collection only after the full cutover has held through a normal traffic cycle.

Which migration pattern fits which situation

This table compares four ways to move a live Qdrant collection to a new embedding model, covering what stays live, extra storage, rollback effort and the workloads each one suits. Read each row against your traffic, write volume and tolerance for a short write freeze, then choose the least complex pattern that meets your retrieval quality goals.

PatternWhat stays liveExtra storage and rollback effortBest fit
Blue-green collections with dual writesReads and writes continue on the old collection while the new one fillsStorage for a second full collection; rollback is fast because the old collection stays intact until retiredLive workloads that cannot pause writes and need a clean, independently testable target
One-time backfill with a short write freezeReads stay live on the old collection; writes pause briefly while the new one is builtStorage for a second collection, released after cutover; rollback means repointing to the old collection and replaying the freeze windowCollections where writes are predictable and a brief, agreed pause is acceptable to the business
Named vectors with update_vectors in 1.18Reads and writes continue against one collection that holds old and new vector fieldsExtra storage for the added named vector; rollback means switching queries back to the original vector name, with no collection copyTeams already on Qdrant 1.18 that want to keep one collection and can tolerate a temporary doubling of vector data
Staged canary aliasMost traffic stays on the current collection while a small share of queries reads the new oneStorage for a second collection; rollback is a single alias change, though keeping both indexes warm adds operating effortTeams that need retrieval quality evidence on real queries before committing to a full switch

Security and access during a re-embedding window

A re-embedding job touches live data, holds credentials that can write to production collections, and sends source text to an embedding provider. The cards below cover the controls that connect those risks, from scoping the backfill credential to retiring old collections after cutover.

Scope the backfill credential

The backfill job should hold a JWT or key scoped to read on the source collection and write on the new collection only. Qdrant's access control grants read or write permissions per collection, so a job that reads the old collection and writes the new one never needs rights on other collections. Check that the job cannot reach the alias swap or delete operations unless your runbook assigns those steps to it. Confirm the exact scope format in your Qdrant version before you issue the token.

Per-collection JWT access
v1.9.0
Qdrant security docs

Do not expose new endpoints

Self-deployed Qdrant listens on all network interfaces and has no authentication configured by default. A blue-green build or a temporary migration service can quietly create a second reachable instance. Keep the new collection on the existing private cluster network, bind any helper service to internal addresses, and confirm that API keys and TLS are active before the backfill starts.

Approve the embedding provider

Every re-embedding run sends source text to the embedding provider, so the new model's endpoint is a data transfer. Record which provider and region receive the text, whether the provider retains inputs or uses them for training, and whether your data classification allows that transfer. If the new model runs locally or in your own cluster, the transfer stays inside your boundary. Get these answers in writing before the first batch.

Prove who wrote what

JSON audit logging records authenticated API operations, which gives you a trail for bulk writes made by the backfill and for the alias swap that changes which collection serves queries. Enable it before the job starts, forward the logs to your central store, and tag the backfill credential so its writes are easy to separate from application traffic. Test that a sample upsert and the alias change both appear in the log.

JSON audit logging
v1.17.0
Qdrant security docs

Retire the old collection deliberately

After cutover, the old collection still holds the previous embeddings and the same payloads, which may include personal or sensitive fields. Decide whether it is deleted or kept under a retention period set by your policy, and record the decision with the cutover ticket. If you keep it for rollback, restrict its read permissions to the incident group and set a removal date. Deleting a collection removes its data from that cluster, so confirm backups and snapshots follow the same retention rule.

Questions teams ask before re-embedding a live collection

How long does re-embedding a live Qdrant collection take?

Duration depends mostly on collection size, embedding throughput and any provider rate limits, not on Qdrant itself. Count the points, measure how many embeddings per minute your chosen model and endpoint can produce under your rate limits, and multiply out the backfill. Dual writes run for the whole backfill and validation period, so the cutover window is usually longer than the raw backfill. Ask for a timed test on a sample of your data before agreeing a schedule, and treat any single estimate without that measurement with caution.

What does a re-embedding project cost, and what drives it up?

The main cost components are the embedding calls or compute to produce new vectors for every point, extra disk and memory while the old and new collections coexist, engineering time for the build and cutover, and test time for the retrieval checks. Embedding cost is one-time for the backfill but recurs for every new or updated document you embed afterward. Costs rise with collection size, vector dimension, the number of collections being migrated, and how many retrieval checks you run. Ask any partner for a quote that lists each component separately, and check the hosted embedding price with your provider.

Can our team re-embed a collection without outside help?

Yes, if you have two things in place: a labeled test set of real queries with expected results, and people available to watch dashboards and respond during the backfill and cutover. The technical steps, a blue-green collection with dual writes and an alias swap, or named vectors with update_vectors on Qdrant 1.18 and later, are well documented. The hard parts are judging whether the new model retrieves better and deciding when to switch, so a team without a test set or on-call cover should plan for more time or outside support.

What do we need to provide before the work starts?

You need access to the Qdrant cluster with an admin API key or equivalent rights, access to the source data or payloads, credentials for the new embedding provider or model host, and a staging environment that mirrors production. You also need a labeled query set, meaning representative user queries with the documents that should come back, and a named owner for the cutover window who can approve the alias swap. Confirm the version and topology of your cluster first, because they determine which migration steps apply.

How do we roll back if the new embeddings retrieve worse results?

In the blue-green approach, the old collection stays intact and keeps receiving writes until you decommission it, so rollback means pointing the collection alias back to the old collection. Application queries should use the alias, not the collection name, so the switch needs no redeploy. With named vectors, keep the old vector name in place until the new one is verified, so queries can target the previous vector again. Confirm the rollback path during the test, and decide how writes made during the rollback window will be reconciled.

Does Qdrant's insert_only mode help with the migration?

Yes, the update_mode setting insert_only, added in Qdrant 1.17.0, skips points whose IDs already exist. The Qdrant documentation describes it as useful for embedding model migrations, because a backfill can re-run safely while live dual writes keep updating points. Test it against your ID scheme first, since it only helps if the same point ID maps to the same source record in both collections.

What should we check in retrieval before switching queries?

Compare the old and new collections against your labeled query set using the same filters, limits and score thresholds that production uses. Check recall for the expected documents, the rank of the best match, behavior on filtered queries and on short or unusual queries, and latency at production load. Also confirm that score scales are comparable, since different models produce different similarity distributions, so any fixed threshold needs recalibrating. Only switch queries after the new collection passes these checks on your own data.

Where to read the official migration guidance

Start with the Qdrant tutorial on migrating to a new embedding model, which walks through the re-embedding pattern this page describes. Read it alongside the points documentation, where the update_mode option and the update_vectors operation are defined. The insert_only update mode, added in v1.17.0, skips points whose IDs already exist, which the docs describe as useful during embedding model migrations. Confirm the exact request shapes and parameter names in the docs for your version, because a field that works in one release may behave differently in another. Your engineers should write those details into the migration runbook rather than relying on memory of this page.

Before you copy any command, confirm the Qdrant version you run in production. Check the Qdrant GitHub releases page for the latest release and its change notes, then compare that with the version on your nodes and in your client SDKs. The named vectors and update_vectors path depends on features that exist only in recent releases, so an older cluster may need an upgrade before you can use that approach. Ask your platform team to record the server version, the client library versions and the collection configuration in the change ticket so the plan can be reviewed against a fixed baseline.

Treat the tutorial as a starting point rather than a finished plan. The sequence it describes still needs your own decisions on the embedding model, the vector dimensions, the payload indexes that queries depend on, and the rollback path if retrieval quality drops after the alias swap. Give the migration owner and the team that evaluates retrieval quality a shared checklist before the first batch runs. Revisit the documentation at the start of the change window, since pages in this area change as the product changes.

How DeployOpen scopes and delivers an embedding model switch

DeployOpen plans the embedding model switch for your Qdrant collections as a written, fixed-scope engagement covering the migration path, the retrieval checks and the handover. The work runs inside infrastructure you control, so your own security and operations teams can review every step before queries move to the new vectors.

How we scope

  • Inventory every collection, named vector and payload index that the new embedding model must cover.
  • Agree in writing whether the switch uses a blue-green collection with dual writes or named vectors in place.
  • Define the retrieval checks, acceptance thresholds and rollback trigger before any re-embedding job starts.

How we build

  • Set up the new collection or vector slot on your cluster and run the re-embedding pipeline in batches.
  • Run dual writes during the transition so new and changed points reach both the old and new vectors.
  • Build the alias swap or query switch as a scripted step that can be reversed without redeploying applications.

How we hand over

  • Deliver the migration runbook, retrieval test results and the record of which collections were switched and when.
  • Document the rollback procedure, the cleanup of old collections and the access settings used for the migration jobs.
  • Walk your platform and data teams through the monitoring signals to watch after the switch and during cleanup.

How we support

  • Retest retrieval quality after the switch and after any later change to the embedding model or chunking rules.
  • Offer ongoing support, upgrades and continuous testing as a retainer if your team wants DeployOpen to keep operating the platform.
  • Confirm with DeployOpen during scoping which support hours, response paths and retest cadence apply to your environment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.