how to delete doc in vector store by once #13504
Replies: 1 comment
-
To delete a document and all its related nodes in the vector store at once when using the NodeParser class, you can utilize a specific method designed for this purpose. This method involves deleting the document by its
This approach ensures that all nodes related to a document are deleted in a single operation, addressing the issue of managing child nodes' references to a parent node. It's important to note that there might be specific considerations or issues related to the deletion process, such as ensuring all nodes are effectively deleted, which could require additional steps or adjustments based on the implementation details of the vector store and index structure you're using.
|
Beta Was this translation helpful? Give feedback.
-
When using the NodeParser class to create a set of nodes, the ref_doc_id of child nodes nomarl points to the parent node rather than the source document, this can lead to issues with deleting all related nodes in the vector store at once.how i should do.
Beta Was this translation helpful? Give feedback.
All reactions