Enhancing Parent-Child Retrieval by Adding Keywords to Child Blocks #7663

Closed
opened 2026-02-21 18:21:43 -05:00 by yindo · 3 comments
Owner

Originally created by @kevintsai1202 on GitHub (Jan 10, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

The knowledge base's parent-child retrieval has not been as effective as expected. Upon closer investigation, it was found that the original indexing method adds keywords to the metadata, while the parent-child retrieval does not. Is it possible to also add keywords to the child chunks?

2. Additional context or comments

The original knowledge base
圖片

Parent-child retrieval knowledge base
圖片

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @kevintsai1202 on GitHub (Jan 10, 2025). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. The knowledge base's parent-child retrieval has not been as effective as expected. Upon closer investigation, it was found that the original indexing method adds keywords to the metadata, while the parent-child retrieval does not. Is it possible to also add keywords to the child chunks? ### 2. Additional context or comments The original knowledge base ![圖片](https://github.com/user-attachments/assets/b5256162-7d4a-4d73-b2f5-9c4255b9fe60) Parent-child retrieval knowledge base ![圖片](https://github.com/user-attachments/assets/fceeeb64-af78-41b5-8af3-2ac4874370a8) ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 18:21:43 -05:00
yindo closed this issue 2026-02-21 18:21:43 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 11, 2025):

Hi, @kevintsai1202. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • You proposed an enhancement to improve parent-child retrieval in a knowledge base by incorporating keywords into child blocks.
  • The current retrieval method is not meeting expectations, and you're curious about the feasibility of this enhancement.
  • You have expressed interest in contributing to the development of this feature.

Next Steps

  • Could you please confirm if this issue is still relevant to the latest version of the Dify repository? If so, feel free to keep the discussion open by commenting on this issue.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Feb 11, 2025): Hi, @kevintsai1202. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. **Issue Summary** - You proposed an enhancement to improve parent-child retrieval in a knowledge base by incorporating keywords into child blocks. - The current retrieval method is not meeting expectations, and you're curious about the feasibility of this enhancement. - You have expressed interest in contributing to the development of this feature. **Next Steps** - Could you please confirm if this issue is still relevant to the latest version of the Dify repository? If so, feel free to keep the discussion open by commenting on this issue. - If there is no further activity, this issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Author
Owner

@kevintsai1202 commented on GitHub (Feb 11, 2025):

Currently, the parent-child search does not provide keywords or abstracts. If it could offer the same functionality as a general search, it would significantly improve the accuracy of data retrieval.

@kevintsai1202 commented on GitHub (Feb 11, 2025): Currently, the parent-child search does not provide keywords or abstracts. If it could offer the same functionality as a general search, it would significantly improve the accuracy of data retrieval.
Author
Owner

@dosubot[bot] commented on GitHub (Feb 11, 2025):

@takatost, the user @kevintsai1202 has indicated that the enhancement for improving parent-child retrieval by incorporating keywords is still relevant. Could you please assist them with this issue?

@dosubot[bot] commented on GitHub (Feb 11, 2025): @takatost, the user @kevintsai1202 has indicated that the enhancement for improving parent-child retrieval by incorporating keywords is still relevant. Could you please assist them with this issue?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#7663