Files
elasticsearch-js/docs/doc_examples/8653e76676de5d327201b77512afa3a0.asciidoc
2020-05-15 10:34:39 +02:00

17 lines
304 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.indices.putSettings({
index: 'twitter',
body: {
index: {
number_of_replicas: 2
}
}
})
console.log(response)
----