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

18 lines
373 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({
query: {
multi_match: {
query: "Will Smith",
type: "best_fields",
fields: ["first_name", "last_name"],
operator: "and",
},
},
});
console.log(response);
----