Auto-generated code for 8.x (#2548)

This commit is contained in:
Elastic Machine
2025-01-07 18:52:35 +00:00
committed by GitHub
parent 35ce1bfef1
commit cb6084b7c3
55 changed files with 3122 additions and 781 deletions

View File

@ -0,0 +1,19 @@
// 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: "my-index-000001",
settings: {
"index.indexing.slowlog.threshold.index.warn": "10s",
"index.indexing.slowlog.threshold.index.info": "5s",
"index.indexing.slowlog.threshold.index.debug": "2s",
"index.indexing.slowlog.threshold.index.trace": "500ms",
"index.indexing.slowlog.source": "1000",
"index.indexing.slowlog.reformat": true,
"index.indexing.slowlog.include.user": true,
},
});
console.log(response);
----