Auto-generated code for 8.x (#2548)
This commit is contained in:
21
docs/doc_examples/3312c82f81816bf76629db9582991812.asciidoc
Normal file
21
docs/doc_examples/3312c82f81816bf76629db9582991812.asciidoc
Normal file
@ -0,0 +1,21 @@
|
||||
// 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.search.slowlog.threshold.query.warn": "10s",
|
||||
"index.search.slowlog.threshold.query.info": "5s",
|
||||
"index.search.slowlog.threshold.query.debug": "2s",
|
||||
"index.search.slowlog.threshold.query.trace": "500ms",
|
||||
"index.search.slowlog.threshold.fetch.warn": "1s",
|
||||
"index.search.slowlog.threshold.fetch.info": "800ms",
|
||||
"index.search.slowlog.threshold.fetch.debug": "500ms",
|
||||
"index.search.slowlog.threshold.fetch.trace": "200ms",
|
||||
"index.search.slowlog.include.user": true,
|
||||
},
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
Reference in New Issue
Block a user