Added new docs examples (#1101)
* Added new docs examples * Updated enabled files list
This commit is contained in:
committed by
GitHub
parent
7b7c9130f3
commit
508aa362e6
19
docs/doc_examples/b1efa1c51a34dd5ab5511b71a399f5b1.asciidoc
Normal file
19
docs/doc_examples/b1efa1c51a34dd5ab5511b71a399f5b1.asciidoc
Normal 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.reindex({
|
||||
body: {
|
||||
source: {
|
||||
index: 'source'
|
||||
},
|
||||
dest: {
|
||||
index: 'dest',
|
||||
pipeline: 'some_ingest_pipeline'
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(response)
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user