Files
elasticsearch-js/docs/doc_examples/9a26759ccbd338224ecaacf7c49ab08e.asciidoc
2020-05-15 10:34:39 +02:00

20 lines
315 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({
body: {
from: 0,
size: 10,
query: {
term: {
user: 'kimchy'
}
}
}
})
console.log(response)
----