* Added generate-docs-examples script * Added doc_examples folder wth the initial examples
34 lines
649 B
Plaintext
34 lines
649 B
Plaintext
// This file is autogenerated, DO NOT EDIT
|
|
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
|
|
|
|
[source, js]
|
|
----
|
|
const response0 = await client.cluster.putSettings({
|
|
body: {
|
|
persistent: {
|
|
'action.auto_create_index': 'twitter,index10,-index1*,+ind*'
|
|
}
|
|
}
|
|
})
|
|
console.log(response0)
|
|
|
|
const response1 = await client.cluster.putSettings({
|
|
body: {
|
|
persistent: {
|
|
'action.auto_create_index': 'false'
|
|
}
|
|
}
|
|
})
|
|
console.log(response1)
|
|
|
|
const response2 = await client.cluster.putSettings({
|
|
body: {
|
|
persistent: {
|
|
'action.auto_create_index': 'true'
|
|
}
|
|
}
|
|
})
|
|
console.log(response2)
|
|
----
|
|
|