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
23
docs/doc_examples/e270f3f721a5712cd11a5ca03554f5b0.asciidoc
Normal file
23
docs/doc_examples/e270f3f721a5712cd11a5ca03554f5b0.asciidoc
Normal file
@ -0,0 +1,23 @@
|
||||
// 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: 'Will Smith',
|
||||
type: 'best_fields',
|
||||
fields: [
|
||||
'first_name',
|
||||
'last_name'
|
||||
],
|
||||
operator: 'and'
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(response)
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user