From 282a5451f8f55cdc6aa3cefcc1672d75968cc09a Mon Sep 17 00:00:00 2001 From: dami Date: Mon, 21 Jul 2025 20:02:08 +0800 Subject: [PATCH] Update index.py --- plugins/manticoresearch/index.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/manticoresearch/index.py b/plugins/manticoresearch/index.py index 94cc57ab6..5f3cd9203 100755 --- a/plugins/manticoresearch/index.py +++ b/plugins/manticoresearch/index.py @@ -195,8 +195,7 @@ def reload(): def rebuild(): - file = initDreplace() - cmd = file + ' rebuild' + cmd = 'indexer --all --rotate' data = mw.execShell(cmd) if data[0].find('successfully')<0: return data[0].replace("\n","
")