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

21 lines
348 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',
scroll: '1m',
body: {
size: 100,
query: {
match: {
title: 'elasticsearch'
}
}
}
})
console.log(response)
----