Files
elasticsearch-js/docs/doc_examples/0ac9916f47a2483b89c1416684af322a.asciidoc
Tomas Della Vedova 01e045f491 Update docs examples (#1024)
* Updated generate-docs-examples script

* Updated docs examples
2019-12-19 09:29:15 +01:00

22 lines
395 B
Plaintext

// 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: {
message: {
query: 'to be or not to be',
operator: 'and',
zero_terms_query: 'all'
}
}
}
}
})
console.log(response)
----