 yxxandClaude
|
6cf531f2a8
|
fix(retrieval): 修复原子性、过滤漏召回、tags 语义与 rebuild 回滚
- 元数据 + 向量单事务提交,避免 PATCH 半提交(审阅 #2)
- vectorstore upsert 改 delete-then-insert 幂等,支持共享 conn
- FTS 取全量 + 过滤 oversample,修复 metadata 过滤漏召回(审阅 #4)
- PATCH tags 区分 None/[]/非空:保留/清空/替换(审阅 #5)
- rebuild 拒绝增量 scope/note_ids,扫描先行 + 失败回滚旧索引(审阅 #6)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-27 22:48:55 +08:00 |
|
 yxxandClaude
|
87717450fd
|
fix(retrieval): 修复路径逃逸、部分提交、失效向量与分页问题
- 路径逃逸:清洗 folder(拒绝 ..、绝对路径/盘符),_abs_path 增加 Vault 边界校验
- 部分提交:create/update 索引失败时回滚文件
- 失效向量残留:replace_note_metadata 返回旧 id,index_note 清理旧向量
- 分页不完整:fts_count 返回真实命中总数,候选池覆盖 offset+limit
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-27 21:38:43 +08:00 |
|
 yxxandClaude
|
39d1aa0fe9
|
docs(retrieval): 增加 Knowledge/Retrieval Core 开发说明
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-27 19:26:58 +08:00 |
|
 yxxandClaude
|
dbcb94b413
|
test(retrieval): 增加检索测试数据与单元端到端测试
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-27 19:24:20 +08:00 |
|
 yxxandClaude
|
6b16ad1a08
|
feat(retrieval): 接入 Note/Search/Index 服务与路由
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-27 19:22:56 +08:00 |
|
 yxxandClaude
|
02bb38bb1d
|
feat(retrieval): 实现 Embedding/Vector/RRF/Reranker 混合检索引擎
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-27 19:21:01 +08:00 |
|
 yxxandClaude
|
d4b472b009
|
feat(knowledge): 实现 SQLite/FTS5 数据层与 Markdown Block 解析
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-27 19:20:12 +08:00 |
|
 yxxandClaude
|
2eed940bb0
|
chore(backend): 引入 sqlite-vec 依赖并配置数据目录
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-27 19:19:44 +08:00 |
|