// This file is autogenerated, DO NOT EDIT
// how-to/recipes/scoring.asciidoc:169

[source, python]
----
resp = client.search(
    query={
        "bool": {
            "must": {
                "match": {
                    "body": "elasticsearch"
                }
            },
            "should": {
                "rank_feature": {
                    "field": "pagerank",
                    "saturation": {
                        "pivot": 10
                    }
                }
            }
        }
    },
)
print(resp)
----
