80. You replace an embedding model while keeping a document collection online. What migration plan would you propose?
HardSystem design
Technical
Show model answer
Version the embedding model, preprocessing and index together. Do not assume vectors from different embedding spaces remain directly comparable, even when their dimensions match. Build a separate candidate index from the same authorized source documents.
Compare retrieval quality, latency and coverage on representative queries before switching traffic. Track indexing progress, preserve a rollback path, and explain how document updates reach both versions during the transition.
What interviewers listen for
- Version the complete embedding pipeline
- Evaluate a separate candidate index
- Plan dual updates and rollback