Added new docs examples (#1149)
* Updated enabled files list * Added new docs examples
This commit is contained in:
committed by
GitHub
parent
7717799ca6
commit
0e659031e3
24
docs/doc_examples/ef0f4fa4272c47ff62fb7b422cf975e7.asciidoc
Normal file
24
docs/doc_examples/ef0f4fa4272c47ff62fb7b422cf975e7.asciidoc
Normal file
@ -0,0 +1,24 @@
|
||||
// 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: {
|
||||
sort: [
|
||||
{
|
||||
price: {
|
||||
missing: '_last'
|
||||
}
|
||||
}
|
||||
],
|
||||
query: {
|
||||
term: {
|
||||
product: 'chocolate'
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(response)
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user