Files
elasticsearch-js/docs/doc_examples/025b54db0edc50c24ea48a2bd94366ad.asciidoc
2020-06-26 09:24:14 +02:00

15 lines
290 B
Plaintext

// 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({
index: 'twitter',
size: '0',
q: 'extra:test',
filter_path: 'hits.total'
})
console.log(response)
----