Lesson 2.36mAdvanced6.8k students

Keeping the index fresh

Content changes and stale chunks keep getting retrieved. Incremental reindexing driven by content events beats rebuilding everything nightly.

This lesson sits in Ingestion and Indexing, part of Retrieval-Augmented Generation from Scratch. It assumes what came before it and leads directly into the next lesson in the module.

In this lesson you will

  • Reindex incrementally on content change events
  • Delete chunks whose source no longer exists
  • Version the index so a bad run can be rolled back

Resources