WeKnora/internal/application
wizardchen e0ea453e3f fix(chunks): trim trusted overlaps by exact position, not text search
Position-aware merging still routed trimming through AppendWithOverlap,
which searches for the longest suffix match inside a window. On periodic
text (table rows, log lines) that search mistakes the repetition for the
overlap and drops real content, and with a zero overlap there is nothing
to search for in the first place.

When coordinates are trusted the overlap is already known, so verify it
character for character and cut exactly, falling back to the text matcher
only when the bodies disagree inside the overlap.
2026-08-06 12:26:15 +08:00
..
repository fix(wiki): exclude archived pages from stats queries 2026-08-06 11:41:32 +08:00
service fix(chunks): trim trusted overlaps by exact position, not text search 2026-08-06 12:26:15 +08:00