Compute a content hash per document and per chunk to skip unchanged content and detect exact duplicates; use near-duplicate detection (for example MinHash or embedding similarity) for repeated boilerplate across documents.
For updates, re-process only changed documents, replace their old chunks atomically, and delete chunks of removed documents so stale answers disappear.
Run ingestion through a queue with idempotent, retryable steps, and track document versions and last-indexed times so you can monitor staleness.
Loading…