fix full-doc mode document doesn't reindex after enable or un_archive (#16737)

This commit is contained in:
Jyong 2025-03-25 16:26:14 +08:00 • committed by GitHub
commit 58c62f0a34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 22 additions and 5 deletions

View file

@ -187,7 +187,7 @@ class IndexingRunner:
},
)
if dataset_document.doc_form == IndexType.PARENT_CHILD_INDEX:
child_chunks = document_segment.child_chunks
child_chunks = document_segment.get_child_chunks()
if child_chunks:
child_documents = []
for child_chunk in child_chunks: