LESSON 2.3
Keeping the index fresh
Learn key techniques and workflows in Retrieval-Augmented Generation from Scratch.
5m
advanced
6,771 students
Overview
Content changes and stale chunks keep getting retrieved. Incremental reindexing driven by content events beats rebuilding everything nightly.
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
Pro Tip
Use caching and revalidation wisely to ensure your app stays fast and data remains fresh without unnecessary requests.