From f5107352314cbb4e6f446ea9c3fc19811e0a0ab9 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 6 Aug 2019 22:22:45 +0800 Subject: [PATCH] Update full.py --- plugins/solr/script/full.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/solr/script/full.py b/plugins/solr/script/full.py index 73486a66d..d16aee18d 100755 --- a/plugins/solr/script/full.py +++ b/plugins/solr/script/full.py @@ -50,7 +50,7 @@ def execShell(cmdstring, cwd=None, timeout=None, shell=True): for x in xrange(1, count / 100 + 1): - y = x * 10 + y = x * 100 cmd = 'curl --basic -u admin:admin "http://127.0.0.1:8983/solr/sodht/dataimport?command=full-import&wt=json&clean=false&commit=true&length=100&offset=' + \ str(y) + '"' print execShell(cmd)