Files
elasticsearch-js/docs/doc_examples/0ca6aae1ab2f0be6127beea8a245374e.asciidoc
2024-07-29 17:10:05 -05:00

17 lines
420 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.asyncSearch.submit({
index: "my-index-000001,cluster*:my-index-000001,-cluster_three:*",
query: {
match: {
"user.id": "kimchy",
},
},
_source: ["user.id", "message", "http.response.status_code"],
});
console.log(response);
----