WeKnora/internal/application
MidoriKurage 0a3f6b0f21
fix(chunks): 流水线重写后的检索结果不用位置匹配 (#2558)
* chore(types): add internal ContentRewritten to types.SearchResult

* test(chunks): pin rewritten results out of the position path

Pipeline-replaced content (parent or neighbor expansion) must not trust
stale coordinates even when the replacement satisfies the length
invariant, and must not extend the merged group's range.

* fix(chunks): keep pipeline-rewritten results off the position path

Parent and neighbor expansion replace Content after retrieval. Without a
marker their stale coordinates could be incorrectly trusted.

Ensure ContentRewritten is false in chunkTrusted.
2026-08-06 14:32:24 +08:00
..
repository fix(wiki): exclude archived pages from stats queries 2026-08-06 11:41:32 +08:00
service fix(chunks): 流水线重写后的检索结果不用位置匹配 (#2558) 2026-08-06 14:32:24 +08:00