Hey guys! I asked this on GH, but I think I may have better luck here :).
I'm unable to delete documents from an index in llama-index after updating to version 0.5.2. All I'm doing is:
- Breaking a document into smaller documents, all with the same document ID (doc_id)
- Calling index.insert(d) on each of these smaller documents
- Saving the index to a string and then to my local file system
- Loading the index from my file system
- Calling index.delete(doc_id)
Before updating, this would delete every document with doc_id from the index. Now, it doesn't seem to do anything. The file size is slightly smaller after deleting, but a majority of the data is still there. I've attached before and after files for an example index.