Find answers from the community

Updated 3 months ago

Is there a way to remove readily

Is there a way to remove readily persisted indices through the storagecontext? I can't seem to find anything about it in the documentation
L
O
8 comments
what do you mean here?
like removing an index that you saved to disk?
Yes! I have my indices persisted to a MongoDB instance (documentstore, vectorstore and indexstore), and to prevent it to become full of indices I'd like to be able to remove a few of them every now and then
Hey @Logan M could you come back on this? :)
I'm not a mongodb expert, but I'm assuming they have an api function to delete them?

If not, you can definitely delete them in the web portal
Thanks for your response! So there's no way to programmatically remove the indices through a method call in the storage context (like the opposite of a storagecontext.persist())
Not programmatically, at least not right now
Would have to directly use the API of whichever integration you are using (in this case, mongodb api)
Add a reply
Sign up and join the conversation on Discord