Skip to content

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

:bug: Results not highlighted when searching using query syntax https://github.com/siyuan-note/siyuan/issues/13532

Daniel86adbed3f0bf
diff --git a/kernel/model/search.go b/kernel/model/search.go
index ea53cca3de..44a0233c8e 100644
--- a/kernel/model/search.go
+++ b/kernel/model/search.go
@@ -1517,7 +1517,6 @@ func fullTextSearchByLikeWithRoot(query, boxFilter, pathFilter, typeFilter, igno
}
func highlightByFTS(query, typeFilter, id string) (ret []string) {
- query = stringQuery(query)
const limit = 256
table := "blocks_fts"
if !Conf.Search.CaseSensitive {