Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 改进重建索引

Liang Ding129d64864b0a
diff --git a/kernel/model/box.go b/kernel/model/box.go
index 9a11eed7c0..b9bb46da4d 100644
--- a/kernel/model/box.go
+++ b/kernel/model/box.go
@@ -506,7 +506,6 @@ func ReloadUI() {
func FullReindex() {
task.PrependTask(task.DatabaseIndexFull, fullReindex)
- task.AppendTask(task.DatabaseIndexRef, IndexRefs)
}
func fullReindex() {
@@ -527,6 +526,7 @@ func fullReindex() {
sql.EnableCache()
treenode.SaveBlockTree(true)
LoadFlashcards()
+ IndexRefs()
debug.FreeOSMemory()
util.ReloadUI()
}