Increment Update

NodeRAG supports incremental updates of the corpus.

Incremental Update Support

NodeRAG supports incremental updates. It tracks the hash IDs of previously indexed documents to manage updates efficiently.
Do not modify files that have already been indexed, as this may lead to duplicate indexing or unpredictable errors.

Best Practice for Adding New Corpus

To add new documents, place the new files in the input folder, then rerun the indexing command:

python -m NodeRAG.build -f path/to/main_folder

NodeRAG will automatically detect new files and convert them into its internal database format without reprocessing existing data.

For more details on incremental mode and a comparison between GraphRAG and LightRAG approaches to incremental updates, see this blog post.


Last modified April 5, 2025: update reproduce (f23a25c)