Reindex to another node without replica

Hi,
I have to copy an index from another cluster to a sandbox cluster.

with

POST _reindex
{
  "source": {
    "remote": {
      "host": "http://up0tx807:9200"
    },
    "index": "idx_pmm-2017.11.30"
  },
  "dest": {
    "index": "idx_pmm-2017.11.30"
  }
}

It works fine but my new index is created with 5 shards and 1 replica. Because the destination cluster is very small, I don't want replica.
How to process ?
thanks for your tips,

This command seems OK

PUT _settings
{
      "index" : {
        "number_of_replicas" : 0
    }
}

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