All Questions
Vector Search medium

Your team wants to switch to a new embedding model with better retrieval quality. The live index holds 40 million documents embedded with the old model and serves production traffic. How should you roll out the change?

  1. A Point queries at the new model now and re-embed documents lazily as they change, since both models encode the same text.
  2. B Swap the model in config and rebuild the HNSW graph in place overnight, since the stored vectors remain valid graph inputs.
  3. C Learn a linear mapping from old vectors into the new space so the existing index can be reused without any re-embedding.
  4. D Build a second versioned index with the new model, dual-write new documents, backfill the rest, then cut queries over.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions