---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

What is Mixpeek?

[Back to Blog](/blog)

[](https://twitter.com/intent/tweet?text=How%20to%20Change%20Embedding%20Models%20Without%20Breaking%20Your%20Search%20Index&url=https%3A%2F%2Fmixpeek.com%2Fblog%2Fchanging-embedding-models-doesnt-have-to-break-your-index)[](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fmixpeek.com%2Fblog%2Fchanging-embedding-models-doesnt-have-to-break-your-index&title=How%20to%20Change%20Embedding%20Models%20Without%20Breaking%20Your%20Search%20Index)[](https://www.reddit.com/submit?url=https%3A%2F%2Fmixpeek.com%2Fblog%2Fchanging-embedding-models-doesnt-have-to-break-your-index&title=How%20to%20Change%20Embedding%20Models%20Without%20Breaking%20Your%20Search%20Index)

This was originally in our newsletter.

Get Updates

Jun 19, 2026•5 min read

# How to Change Embedding Models Without Breaking Your Search Index

Build a second index with the new model beside the old one, compare both on the same queries, and switch only when the new one wins. Rollback is a configuration change.

![How to Change Embedding Models Without Breaking Your Search Index](https://blog.mixpeek.com/content/images/2026/06/feature_embedding_lifecycle_v2.png)

Embeddings

TABLE OF CONTENTS

**Short answer:** to change embedding models without breaking search, build a second index with the new model beside the old one, compare the two on the same queries, and point your application at the new one only when it wins. Vectors from two different models cannot be compared, so re-embedding documents in place mixes two vector spaces and recall drops until the job finishes. Keeping the old index live also makes rollback a configuration change.

_Updated November 2026._

A vector index encodes every document into a point in a space defined by the [embedding model](https://mixpeek.com/models?ref=blog.mixpeek.com) that created it. That's the whole problem. Text search indexes don't have this property — you can swap a tokenizer and rebuild keyword statistics overnight. Vector spaces aren't portable across models. The geometry changes. Distances mean different things. A cosine similarity computed between a document embedded with CLIP and a query embedded with SigLIP is noise.

So when a better model ships — and one always does — you're stuck. Every document in your index needs to be re-encoded. While that's happening, queries mix old-model documents with new-model queries and recall drops. When you're done, you have no way to compare quality against the old system before you cut over. If it's worse, you start over.

The teams that handle this cleanly treat model versions like code versions. You don't migrate code by deleting v1 and overwriting it with v2. You deploy v2 alongside v1, compare, and then cut over. Same principle applies to your index.

## Version the model into the index

Every collection is tied to a [feature extractor](https://mixpeek.com/extractors?ref=blog.mixpeek.com) — the component that runs the model and produces embeddings. The extractor has a name and a version, and together they form a [Feature URI](https://mixpeek.com/glossary/feature-uri?ref=blog.mixpeek.com):

```
mixpeek://clip_vit_l_14@v1/image_embedding
mixpeek://siglip2-giant@v2/image_embedding
```

This URI is immutable. A collection built with `clip@v1` will always serve `clip@v1` embeddings. When you move to `siglip2@v2`, you don't modify the collection — you create a new one. The old collection stays live. Two embedding spaces coexist without touching each other.

## The migration workflow

Clone the production collection with the new extractor:

```python
# Clone production collection, swap the model
client.collections.clone(
    "col_product_images",
    collection_name="col_product_images_v2",
    feature_extractor={
        "feature_extractor_name": "siglip2-giant",
        "version": "v2",
        "input_mappings": {"image": "image_url"},
    }
)
```

The clone copies collection configuration. It doesn't copy vectors — the model changed, so old vectors aren't valid for the new extractor. Trigger reprocessing on the clone:

```python
# Reembed with the new model — runs async
client.collections.trigger("col_product_images_v2")
# returns batch_id, task_id — production is untouched
```

While that runs, your production [retriever](https://mixpeek.com/retrievers?ref=blog.mixpeek.com) still points at `col_product_images`. Nothing is broken. Users see no change.

## Measure before you cut over

Most migrations skip this. They assume newer model means better results and cut over. Sometimes that's true. Sometimes the new model scores well on MTEB but performs worse on your specific data distribution. The only way to know is to measure.

Evaluations require a curated ground truth dataset — queries plus the documents that should rank in the top results. Run the same dataset against both retrievers:

```python
# Same ground truth, two different retrievers
client.retrievers.evaluations.run("ret_product_v1", dataset_name="golden_queries")
client.retrievers.evaluations.run("ret_product_v2", dataset_name="golden_queries")
# Returns Precision@K, Recall@K, NDCG@K, MRR for each K
```

Benchmarks are more realistic if you have interaction history. They replay real sessions — actual queries users ran, documents they clicked on — and score both retrievers against observed behavior:

```python
client.retrievers.benchmarks.create(
    benchmark_name="siglip_vs_clip",
    baseline_retriever_id="ret_product_v1",
    candidate_retriever_ids=["ret_product_v2"],
    session_count=500,
)
client.retrievers.benchmarks.execute("bench_abc123")
# Returns precision@10, MRR, NDCG, latency — baseline vs candidate with deltas
```

_The table and chart below illustrate what a benchmark comparison returns. They are example numbers, not a measured run._

Metric

v1 (CLIP)

v2 (SigLIP2)

Delta

Precision@10

0.72

0.78

+8.3%

MRR

0.81

0.85

+4.9%

NDCG@10

0.76

0.82

+7.9%

Avg latency

145ms

160ms

+10.3%

Illustrative example: what a baseline vs candidate benchmark returns

Illustrative benchmark: baseline vs candidate v1 (CLIP) v2 (SigLIP2) 0.60 1.00 Precision@10 +8.3% 0.72 → 0.78 MRR +4.9% 0.81 → 0.85 NDCG@10 +7.9% 0.76 → 0.82 Latency: 145ms → 160ms (+10.3% — acceptable tradeoff)

The new model is meaningfully better on retrieval quality and 15ms slower — a tradeoff you can evaluate deliberately rather than discover after shipping.

## Run this on your own content

Point Mixpeek at the storage you already have and search your video, images, audio, and documents the way this post describes. Build starts at $25/mo for up to 1M vectors.

[Search your own files](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=blog_onramp_mid&utm_campaign=mvs_onramp)[Talk to us](/demo)

## Cutover and rollback

Blue-green: create a new retriever pointing at `col_product_images_v2`, update your application to use the new retriever ID. The old retriever stays alive. If something goes wrong in production that your offline eval didn't catch, switch back to the old retriever ID. Rollback is a config change, not a re-indexing job.

```python
# New retriever pointing at the v2 collection
client.retrievers.clone(
    "ret_product_v1",
    retriever_name="ret_product_v2",
    collection_ids=["col_product_images_v2"],
)
```

If you're less confident, point a single retriever at both feature URIs simultaneously using [weighted fusion](https://mixpeek.com/hybrid-search?ref=blog.mixpeek.com). Start old model at 90%, new at 10%. Shift as confidence builds.

```python
"searches": [
    {
        "feature_uri": "mixpeek://clip_vit_l_14@v1/image_embedding",
        "query": "{{INPUT.query}}",
        "top_k": 100,
        "weight": 0.9,
    },
    {
        "feature_uri": "mixpeek://siglip2-giant@v2/image_embedding",
        "query": "{{INPUT.query}}",
        "top_k": 100,
        "weight": 0.1,
    },
],
"fusion": "weighted",
```

When you're satisfied, remove the old search leg. No re-indexing required — both collections were running the whole time, so the new one is already fully warm.

Your app ret\_product\_v2 SigLIP2 · active ● ret\_product\_v1 CLIP · standby rollback = change ID

* * *

The reason model migrations feel expensive usually isn't the model. It's the index architecture: mutable, unversioned, with no staging layer and no way to compare before committing. Fix the [embedding versioning](https://mixpeek.com/glossary/embedding-versioning?ref=blog.mixpeek.com) design and the model becomes just a parameter. The teams that do this well don't run migrations. They run experiments.

## Frequently asked questions

### Can I change embedding models without re-indexing?

You have to re-embed the documents, because a query vector from one model cannot be compared with document vectors from another. What you can avoid is downtime: build the new index next to the old one, keep serving from the old one while the new one fills, and switch when it is ready. Learned translations such as orthogonal Procrustes can map old vectors into the new space without re-embedding, usually with some loss of recall; [our guide to switching models without re-embedding](https://mixpeek.com/guides/embedding-model-migration-without-reembedding?ref=blog.mixpeek.com) covers when that is good enough.

### Why does search quality drop while I switch embedding models?

During an in-place re-embed, part of the index holds vectors from the old model and part from the new one, and every query is embedded by only one of them. Similarity scores between vectors from different models are meaningless, so the documents still on the other model rank more or less at random until the job finishes. A second index avoids the mixed state entirely.

### How do I know the new embedding model is better on my data?

Run both indexes against the same set of real queries with known relevant results, and compare Precision@K, Recall@K, NDCG@K and MRR. A public leaderboard such as MTEB measures other people's data, so a model can lead it and still lose on yours. In Mixpeek, POST /v1/retrievers/{retriever\_id}/evaluations scores a retriever against a dataset of queries; see [evaluations](https://mixpeek.com/docs/retrieval/evaluations?ref=blog.mixpeek.com).

### How do I roll back an embedding model change?

Keep the old index and the retriever that reads it until the new one has run in production for a while. Rolling back is then pointing your application back at the old retriever ID, with nothing to rebuild. Delete the old index only after you are confident you will not need it.

### Can I run the old and new embedding models at the same time?

Yes. One retriever can search both indexes and fuse the results, for example with weighted fusion at 90% old and 10% new, then shift the weights as the new model proves itself. In Mixpeek that is two searches in a [feature\_search](https://mixpeek.com/docs/retrieval/stages/feature-search?ref=blog.mixpeek.com) stage, one per feature URI, with fusion set to weighted.

## Go deeper: the full migration playbook

We wrote up the complete decision framework -- full re-embedding behind a dual index, learned vector-space translation (orthogonal Procrustes and adapters), query-side bridging, and how to validate recall parity before you cut over -- in [How to Switch Embedding Models Without Re-Embedding Everything](https://mixpeek.com/guides/embedding-model-migration-without-reembedding?ref=blog.mixpeek.com). And if you would rather have the dual-index pattern operated for you, [Mixpeek's vector store](https://mixpeek.com/mvs?ref=blog.mixpeek.com) runs old and new embedding generations side by side over your object storage, so a model swap becomes a cutover decision instead of a rebuild.

[ES

Ethan Steininger

Former lead of MongoDB's Search Team, Ethan noticed the most common problem customers faced was building indexing and search infrastructure on their S3 buckets. Mixpeek was born.



](/blog/authors/ethan)

## Run this on your own content

Point Mixpeek at the storage you already have and search your video, images, audio, and documents the way this post describes. Build starts at $25/mo for up to 1M vectors.

[Search your own files](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=blog_onramp_end&utm_campaign=mvs_onramp)[Talk to us](/demo)

## Continue Learning

[

![Gemini Embedding 2 is Live: embed multiple files into one vector](https://blog.mixpeek.com/content/images/2026/03/feature-image-2.png)

### Gemini Embedding 2 is Live: embed multiple files into one vector

Google's Gemini Embedding 2 embeds images, PDFs, and text together in a single API call. Here's how we integrated it into Mixpeek's feature extractor pipeline, the production numbers, and where multi-file embedding beats single-chunk approaches.

Read More





](/blog/gemini-embedding-2-multifile)

### Author

ES

Ethan Steininger

![Mixpeek Icon](/brand/logo-dark-icon.webp)

#### Multimodal Search, On Demand

Index, retrieve, and reason over videos, images, audio, and docs, all from a single API.

[Start Building](/start)

### Share

[](https://twitter.com/intent/tweet?text=How%20to%20Change%20Embedding%20Models%20Without%20Breaking%20Your%20Search%20Index&url=https%3A%2F%2Fmixpeek.com%2Fblog%2Fchanging-embedding-models-doesnt-have-to-break-your-index)[](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fmixpeek.com%2Fblog%2Fchanging-embedding-models-doesnt-have-to-break-your-index&title=How%20to%20Change%20Embedding%20Models%20Without%20Breaking%20Your%20Search%20Index)[](https://www.reddit.com/submit?url=https%3A%2F%2Fmixpeek.com%2Fblog%2Fchanging-embedding-models-doesnt-have-to-break-your-index&title=How%20to%20Change%20Embedding%20Models%20Without%20Breaking%20Your%20Search%20Index)