// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.mjs` to generate the docs examples

[source, js]
----
const response = await client.search({
  index: "test",
  query: {
    rank_feature: {
      field: "pagerank",
      sigmoid: {
        pivot: 7,
        exponent: 0.6,
      },
    },
  },
});
console.log(response);
----
