// 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: "cooking_blog",
  query: {
    multi_match: {
      query: "vegetarian curry",
      fields: ["title^3", "description^2", "tags"],
    },
  },
});
console.log(response);
----
