Update docs examples (#1081)
* Updated enabled files list * Generated docs examples * Generated docs examples
This commit is contained in:
committed by
GitHub
parent
41927914bb
commit
28205e97cf
22
docs/doc_examples/0e118857b815b62118a30c042f079db1.asciidoc
Normal file
22
docs/doc_examples/0e118857b815b62118a30c042f079db1.asciidoc
Normal file
@ -0,0 +1,22 @@
|
||||
// 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: {
|
||||
multi_match: {
|
||||
query: 'quick brown f',
|
||||
type: 'phrase_prefix',
|
||||
fields: [
|
||||
'subject',
|
||||
'message'
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(response)
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user