Find answers from the community

Updated 3 weeks ago

Cannot Delete a Document in the Index Using the Doc_id

Hi @all.

I cannot delete a doc in the index using the doc_id.

doc_id = f"{id}"
index.delete(doc_id)

Save the index after the update

index.storage_context.persist(persist_dir=f"{Constants.index_path}/{folder}")

I got the error:
NotImplementedError: Delete not yet implemented for Faiss index.
Add a reply
Sign up and join the conversation on Discord