// 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({ query: { match: { "user.id": "kimchy", }, }, }); console.log(response); const response1 = await client.search({ index: "_all", query: { match: { "user.id": "kimchy", }, }, }); console.log(response1); const response2 = await client.search({ index: "*", query: { match: { "user.id": "kimchy", }, }, }); console.log(response2); ----