Added new docs examples (#1233)
This commit is contained in:
committed by
GitHub
parent
83e5147d9d
commit
148f2fd864
17
docs/doc_examples/83f95657beca9bf5d8264c80c7fb463f.asciidoc
Normal file
17
docs/doc_examples/83f95657beca9bf5d8264c80c7fb463f.asciidoc
Normal file
@ -0,0 +1,17 @@
|
||||
// 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: {
|
||||
query: {
|
||||
match_phrase: {
|
||||
message: 'this is a test'
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(response)
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user