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

25 lines
401 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: {
slice: {
field: 'date',
id: 0,
max: 10
},
query: {
match: {
title: 'elasticsearch'
}
}
}
})
console.log(response)
----