// 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.transport.request({
  method: "POST",
  path: "/_application/search_application/my-app/_render_query",
  body: {
    params: {
      query_string: "my first query",
      text_fields: [
        {
          name: "title",
          boost: 5,
        },
        {
          name: "description",
          boost: 1,
        },
      ],
    },
  },
});
console.log(response);
----
