Self Checks
RAGFlow workspace code commit ID
16283
RAGFlow image version
0.26.1
Other environment information
Using MinerU as the OCR backend.
Actual behavior
When clicking a chunk that spans multiple PDF pages (e.g., a cross-page table on page 7 and page 8), the PDF preview on the left only highlights the first page. The subsequent page's text/table rows are not highlighted at all.
I have traced the entire data flow (Frontend -> RAGFlow Backend -> MinerU -> RAGFlow Backend -> Frontend) to debug this issue. The root cause is located in the RAGFlow backend's processing of the data provided by MinerU. MinerU outputs complete coordinates for all pages of the cross-page table in its raw _middle.json file, but the RAGFlow backend only extracts the coordinates of the first page when generating the chunk data. As a result, the frontend receives an incomplete positions array, which causes the highlights on the subsequent pages to be entirely missing.
Expected behavior
No response
Steps to reproduce
1. Upload a PDF file that contains a table spanning multiple pages.
2. Use MinerU as the OCR backend for parsing the document.
3. Go to the "Parsed Chunk" preview page (`/chunk/parsed`).
4. Find a chunk that contains the cross-page table.
5. Click on this chunk in the right sidebar.
6. Observe that only the first page's table content is highlighted in the left PDF viewer, while the rest of the pages are not highlighted.
Additional information
No response
Self Checks
RAGFlow workspace code commit ID
16283
RAGFlow image version
0.26.1
Other environment information
Actual behavior
When clicking a chunk that spans multiple PDF pages (e.g., a cross-page table on page 7 and page 8), the PDF preview on the left only highlights the first page. The subsequent page's text/table rows are not highlighted at all.
I have traced the entire data flow (Frontend -> RAGFlow Backend -> MinerU -> RAGFlow Backend -> Frontend) to debug this issue. The root cause is located in the RAGFlow backend's processing of the data provided by MinerU. MinerU outputs complete coordinates for all pages of the cross-page table in its raw
_middle.jsonfile, but the RAGFlow backend only extracts the coordinates of the first page when generating the chunk data. As a result, the frontend receives an incompletepositionsarray, which causes the highlights on the subsequent pages to be entirely missing.Expected behavior
No response
Steps to reproduce
Additional information
No response