Просмотр исходного кода

:bug: Unable to use `Query Syntax` to search https://github.com/siyuan-note/siyuan/issues/13422

Daniel 6 месяцев назад
Родитель
Сommit
7e21eb12e6
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      kernel/model/search.go

+ 0 - 1
kernel/model/search.go

@@ -1412,7 +1412,6 @@ func fullTextSearchCountByRegexp(exp, boxFilter, pathFilter, typeFilter, ignoreF
 }
 
 func fullTextSearchByFTS(query, boxFilter, pathFilter, typeFilter, ignoreFilter, orderBy string, beforeLen, page, pageSize int) (ret []*Block, matchedBlockCount, matchedRootCount int) {
-	query = stringQuery(query)
 	table := "blocks_fts" // 大小写敏感
 	if !Conf.Search.CaseSensitive {
 		table = "blocks_fts_case_insensitive"