documents = SimpleDirectoryReader("data").load_data() # new documents for doc in documents: index.insert(doc)