(cherry picked from commit f737290d10)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
13 lines
306 B
Plaintext
13 lines
306 B
Plaintext
// This file is autogenerated, DO NOT EDIT
|
|
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
|
|
|
|
[source, js]
|
|
----
|
|
const response = await client.cluster.putSettings({
|
|
persistent: {
|
|
"cluster.routing.allocation.total_shards_per_node": 400,
|
|
},
|
|
});
|
|
console.log(response);
|
|
----
|