An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: 数据同步增量索引
Liang Ding313181ef48cc
diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex e7e2ba049a..996d5dc949 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -132,8 +132,9 @@ func incReindex(upserts, removes []string) {util.PushEndlessProgress(msg)}- // 先执行 remove,否则移动文档时 upsert 会被忽略,导致未被索引+ logging.LogDebugf("sync reindex [upserts=%d, removes=%d]", len(upserts), len(removes))+ // 先执行 remove,否则移动文档时 upsert 会被忽略,导致未被索引for _, removeFile := range removes {if !strings.HasSuffix(removeFile, ".sy") {continue