documents = SimpleDirectoryReader(DOCUMENTS_FOLDER, filename_as_id=True).load_data() # add new docs in the existing index for doc in documents: index.insert(doc)