♻️ 重命名重建索引函数

This commit is contained in:
Liang Ding 2022-09-16 19:45:46 +08:00
parent e2e929538b
commit 67ff76c605
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 11 additions and 11 deletions

View file

@ -213,7 +213,7 @@ func setSearch(c *gin.Context) {
model.Conf.Save()
sql.SetCaseSensitive(s.CaseSensitive)
if s.CaseSensitive != oldCaseSensitive {
model.RefreshFileTree()
model.FullReindex()
}
sql.ClearVirtualRefKeywords()
ret.Data = s