Elastic search reindexing stuck at 52000 docs while the source has more docs

I am trying to reindex a source index which has 500k documents with new mapping but the reindexing gets stuck at 52000 docs and doesn't proceed. It worked perfectly for another index which had 190k docs. Kindly help me with this.

   body = {
        "source": {
            "index": source_index
        "dest": {
            "index": new_index

Welcome to our community! :smiley:
Please format your code/logs/config using the </> button, or markdown style back ticks. It helps to make things easy to read which helps us help you :slight_smile:

What do you mean by "get's stuck"?

By stuck, I mean it is not reindexing more documents. It looks like it stopped with 52000 docs .

_cat/indices (output):
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open source-index 3j1w5PFiRfK-vgIL2uNycg 2 2 586057 0 2.8gb 985.6mb
green open dest-index_bak OAbKhR3cR3eyBt6ifZ2VmQ 1 1 52000 0 85.5mb 41.8mb

_cat/shards/dest-index_bak (output) :
dest-index_bak 0 p STARTED 52000
dest-index_bak 0 r STARTED 52000

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.