Commit 3738b16d authored by Damien DESPRES's avatar Damien DESPRES
Browse files

migration es7

parent a4b2f8d4
Pipeline #21378 failed with stage
in 38 seconds
......@@ -70,10 +70,10 @@ def reindexer(cfg, content_type, content_id=None):
while count1 != count2:
count1 = source_es.count(source_index).get('count')
count1 = source_es.count(index=source_index, doc_type='_doc').get('count')
count2 = source_es.count(source_index).get('count')
count2 = source_es.count(index=source_index, doc_type='_doc').get('count')
rep = destin_es.reindex(body, wait_for_completion=False)
Supports Markdown
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