infiniflow / infiniflow/ragflow

[Question]: Is there a function for overlapping and connecting blocks?

Open
#9,136 4 comments 1 reaction 0 assignees View on GitHub
🙋‍♀️ question
Dominant language
Go
Stars
91k
Forks
10.8k
Avg merge
1d 14h
Merged PRs (30d)
705

Description

### Self Checks

- [x] I have searched for existing issues [search for existing issues](https://github.com/infiniflow/ragflow/issues), including closed ones.
- [x] I confirm that I am using English to submit this report ([Language Policy](https://github.com/infiniflow/ragflow/issues/5910)).
- [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) ([Language Policy](https://github.com/infiniflow/ragflow/issues/5910)).
- [x] Please do not modify this template :) and fill in all the required fields.

### Describe your problem

Can't we set overlap before segmenting? Currently, after deepdoc segmentation, all paragraphs are independent. If the segmentation effect is not ideal, two paragraphs in the same chapter will be segmented into two blocks. However, when searching, these two paragraphs need to be found to maintain integrity. If there is no overlap, the other paragraph may not be retrieved.
Similar to this function in the dify knowledge base
Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the deepdoc segmentation and retrieval flow to understand how paragraphs become independent blocks. The issue does not name files, tests, or a specific overlap behavior; done would require an agreed design for configuring overlap or connecting related blocks, plus validation that both paragraphs remain retrievable.

Written by the indexing model from the issue text.

Assessment

Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.