Parent Document Not Updating During Re-indexing with Parent Document Retriever #29801
Open
5 tasks done
Labels
Ɑ: vector store
Related to vector store module
Checked other resources
Example Code
Code examples
Error Message and Stack Trace (if applicable)
No response
Description
When building a GenAI application using LangChain and ingesting embeddings into a vector database, I've encountered an issue with the Parent Document Retriever during re-indexing. While child documents are successfully re-indexed, the parent document remains outdated. This occurs even when the Record Manager doesn't return the updated UIDs for the child documents, preventing manual updates.
To Reproduce
Expected behavior
After re-indexing the child documents, the parent document should also be updated to reflect the changes in its children. The Record Manager should return the updated UIDs of the child documents, allowing the Parent Document Retriever to identify and update the corresponding parent document.
System Info
System information:
Unable to provide detailed system information due to environment restrictions.
The text was updated successfully, but these errors were encountered: