// 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.searchApplication.search({
  name: "my_search_application",
  params: {
    elser: true,
    text: true,
    query_string: "where is the best mountain climbing?",
    elser_fields: [
      {
        name: "title",
        boost: 1,
      },
      {
        name: "description",
        boost: 1,
      },
    ],
    text_query_boost: 4,
    min_score: 10,
  },
});
console.log(response);
----
