Added new docs examples (#1149)
* Updated enabled files list * Added new docs examples
This commit is contained in:
committed by
GitHub
parent
7717799ca6
commit
0e659031e3
20
docs/doc_examples/f4a1008b3f9baa67bb03ce9ef5ab4cb4.asciidoc
Normal file
20
docs/doc_examples/f4a1008b3f9baa67bb03ce9ef5ab4cb4.asciidoc
Normal file
@ -0,0 +1,20 @@
|
||||
// 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.create({
|
||||
index: 'index_double',
|
||||
body: {
|
||||
mappings: {
|
||||
properties: {
|
||||
field: {
|
||||
type: 'date'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(response)
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user