// 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({
  q: "kimchy",
  filter_path: "took,hits.hits._id,hits.hits._score",
});
console.log(response);
----
