@dominic60185
Dominik LubańskiDeveloper▲26
Full Stack & AI Developer, AIvanta
1h ago · Infra · Warsaw

Rebuilding Your Vector Index Shouldn't Take Your AI Product Offline

One problem that doesn't get much attention in RAG architecture discussions is what happens when you need to change your embedding model after the product is already running.

You can't safely mix embeddings from incompatible models in the same search space and expect meaningful results.
And rebuilding an index with thousands or millions of documents isn't something I'd want to do directly against production traffic.

I'd handle it like a database migration.
Create a separate versioned index, backfill documents in batches, and keep new or updated documents synchronized while the rebuild runs.

Then compare retrieval quality and latency between the old and new indexes using the same evaluation queries.
Once the new index is validated and caught up, switch traffic gradually, with the previous version available for rollback.

It's more work than replacing an embedding API call, but it avoids turning a model upgrade into an operational incident.

For production RAG systems, index lifecycle management matters just as much as retrieval quality.

Comments

No comments yet
Start the conversation.
Log in to join the thread.