An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:zap: 改进块引搜索性能 https://github.com/siyuan-note/siyuan/issues/7262
Liang Ding1e3764074913
diff --git a/kernel/model/search.go b/kernel/model/search.goindex e72c0f30d7..3996ff09ab 100644--- a/kernel/model/search.go+++ b/kernel/model/search.go@@ -165,7 +165,7 @@ func SearchRefBlock(id, rootID, keyword string, beforeLen int) (ret []*Block, necontinue}cachedTrees[b.RootID] = tree- b.RefText = getBlockRefText(id, tree)+ b.RefText = getBlockRefText(b.ID, tree)hitFirstChildID := falseif b.IsContainerBlock() {