Files
elasticsearch-js/docs/doc_examples/a3646b59da66b9ab68bdbc8dc2e6a9be.asciidoc
2024-09-30 13:37:11 -05:00

33 lines
597 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({
index: "restaurants",
retriever: {
standard: {
query: {
bool: {
should: [
{
match: {
region: "Austria",
},
},
],
filter: [
{
term: {
year: "2019",
},
},
],
},
},
},
},
});
console.log(response);
----