Find answers from the community

Updated 2 months ago

Hi does llama index provides support for

Hi, does llama-index provides support for making updates(particularly adding documents) to the StorageContext?
Currently, I have a StorageContext object using FAISSVectorStore, and I'm loading it from a local file.I know it is easy to add document in the DocumentStore and VectorStore. If I'm adding a IndexStruct object to the IndexStore to make updates to the IndexStore - During retrieval, after I got the ids from FAISS, is it going to search through all the IndexStruct?
Please let me know if my understanding is off in any steps.
L
1 comment
You only really need to worry about the index store if you are saving multiple indexes to the same folder. In this case, the index struct is keeping track of which node_ids from the docstore and vector store it has access to

Otherwise though, you should be able to call index.insert(document) to add new documents to the index
Add a reply
Sign up and join the conversation on Discord