Update docs examples (#1024)

* Updated generate-docs-examples script

* Updated docs examples
This commit is contained in:
Tomas Della Vedova
2019-12-19 09:29:15 +01:00
committed by GitHub
parent c69db0ba08
commit 01e045f491
42 changed files with 982 additions and 3 deletions

View 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.search({
body: {
aggs: {
tags: {
terms: {
field: 'tags',
missing: 'N/A'
}
}
}
}
})
console.log(response)
----