mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update full.py
This commit is contained in:
@@ -54,3 +54,4 @@ for x in xrange(0, count / length + 1):
|
||||
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=' + \
|
||||
str(length) + '&offset=' + str(y) + '"'
|
||||
print execShell(cmd)
|
||||
time.sleep(0.3)
|
||||
|
||||
Reference in New Issue
Block a user