elastic icon indicating copy to clipboard operation
elastic copied to clipboard

Support for Cluster update settings API

Open kamolhasan opened this issue 5 years ago • 0 comments

We've been working on a project where we need to perform the following query to disable shard allocation using the client.

PUT _cluster/settings
{
  "persistent": {
    "cluster.routing.allocation.enable": "primaries"
  }
}

From your README.md, it seems like you haven't provided support for this endpoint yet.

Is there any way to perform this using the existing client library? Or anything else.

Which version of Elastic are you using?

  • elastic.v7

kamolhasan avatar Jan 22 '20 05:01 kamolhasan