// This file is autogenerated, DO NOT EDIT
// query-dsl/rank-feature-query.asciidoc:254

[source, python]
----
resp = client.search(
    index="test",
    query={
        "rank_feature": {
            "field": "pagerank",
            "saturation": {
                "pivot": 8
            }
        }
    },
)
print(resp)
----
