diff --git a/kernel/model/file.go b/kernel/model/file.go index 41dcb0a4b..67cf8c8b9 100644 --- a/kernel/model/file.go +++ b/kernel/model/file.go @@ -1306,6 +1306,10 @@ func MoveDocs(fromPaths []string, toBoxID, toPath string, callback interface{}) } FlushTxQueue() + pushSQLInsertBlocksFTSMsg = true + defer func() { + pushSQLInsertBlocksFTSMsg = false + }() luteEngine := util.NewLute() count := 0 for fromPath, fromBox := range pathsBoxes {