mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 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:
parent
1f3c3a53b4
commit
7e6752a8fb
3 changed files with 20 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue