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","
")