Skip to content

[Bug] The segmentation and sorting in the document are disordered. Can they be arranged in the order they were added #2354

@tomener

Description

@tomener

Contact Information

wechat:tomener

MaxKB Version

v1.10.0-lts (build at 2025-02-10T17:04, commit: 50f2c96)

Problem Description

When I add segments to a document, the ones added later will be placed at the front. Adding too many segments will make the order of the segments even more disorderly.

I added it in the order of 1, 2, 3, 4, and 5, but after adding it, the sorting became 4, 1, 2, 3, and 5

Image

Steps to Reproduce

Create a blank document and add a few segments afterwards to reproduce it

The expected correct result

The correct result should be sorted in the order I added them

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions