Added new docs examples (#1233)
This commit is contained in:
committed by
GitHub
parent
83e5147d9d
commit
148f2fd864
20
docs/doc_examples/7e52bec09624cf6c0de5d13f2bfad5a5.asciidoc
Normal file
20
docs/doc_examples/7e52bec09624cf6c0de5d13f2bfad5a5.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({
|
||||
index: 'twitter',
|
||||
scroll: '1m',
|
||||
body: {
|
||||
size: 100,
|
||||
query: {
|
||||
match: {
|
||||
title: 'elasticsearch'
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(response)
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user