🎨 Manually optimize the data index to reduce space usage and improve performance https://github.com/siyuan-note/siyuan/issues/15663

This commit is contained in:
Daniel 2025-08-24 15:48:22 +08:00
parent 1f3c3a53b4
commit 7e6752a8fb
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 20 additions and 0 deletions

View file

@ -663,6 +663,10 @@ func normalizeTree(tree *parse.Tree) (yfmRootID, yfmTitle, yfmUpdated string) {
return
}
func VacuumDataIndex() {
}
func FullReindex() {
task.AppendTask(task.DatabaseIndexFull, fullReindex)
task.AppendTask(task.DatabaseIndexRef, IndexRefs)