Update docs examples (#1024)
* Updated generate-docs-examples script * Updated docs examples
This commit is contained in:
committed by
GitHub
parent
c69db0ba08
commit
01e045f491
20
docs/doc_examples/f085fb032dae56a3b104ab874eaea2ad.asciidoc
Normal file
20
docs/doc_examples/f085fb032dae56a3b104ab874eaea2ad.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.search({
|
||||
body: {
|
||||
aggs: {
|
||||
tags: {
|
||||
terms: {
|
||||
field: 'tags',
|
||||
missing: 'N/A'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(response)
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user