Update docs examples (#1024)
* Updated generate-docs-examples script * Updated docs examples
This commit is contained in:
committed by
GitHub
parent
c69db0ba08
commit
01e045f491
21
docs/doc_examples/97bcd92ef148312d41e69f0d18284327.asciidoc
Normal file
21
docs/doc_examples/97bcd92ef148312d41e69f0d18284327.asciidoc
Normal file
@ -0,0 +1,21 @@
|
||||
// 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: {
|
||||
range: {
|
||||
age: {
|
||||
gte: 10,
|
||||
lte: 20,
|
||||
boost: 2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(response)
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user