How would you keep a RAG system fresh without reindexing everything constantly?

Instruction: Describe how you would preserve freshness while controlling ingestion cost.

Context: Checks whether the candidate can explain the core concept clearly and connect it to real production decisions. Describe how you would preserve freshness while controlling ingestion cost.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

The way I'd approach it in an interview is this: I keep RAG fresh by separating change detection from full reindexing. Every document should have a stable identity, a version or content hash, and clear timestamps. That lets the pipeline detect what actually changed instead of rebuilding the whole corpus....

Related Questions