Commit 526efece authored by litaolemo's avatar litaolemo

update

parent 5a7867aa
......@@ -69,8 +69,8 @@ for one_scan in write_into_scan:
bulk_one_body = bulk_head + '\n' + data_str + '\n'
print(bulk_one_body)
bulk_all_body += bulk_one_body
break
if count%100 == 0:
# break
if count%500 == 0:
eror_dic=es7.bulk(index=target_index,
body=bulk_all_body, request_timeout=200)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment