All Questions
Rag And Retrieval medium

You want to move a 20M-chunk index to a new, higher-quality embedding model. An engineer proposes embedding only new and changed documents with the new model and leaving existing vectors in place. What should you do instead?

  1. A Re-embed the full corpus into a parallel index, compare retrieval metrics, then cut over queries atomically.
  2. B Embed only new and changed documents with the new model, since incremental upserts keep the index fresh.
  3. C Keep the old vectors and embed each query with both models, then average the two query vectors before searching.
  4. D Embed new docs with the new model and project old vectors into the new space by padding them to its dimension.

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

Get the app

Related questions