// This file is autogenerated, DO NOT EDIT
// search/search-your-data/search-shard-routing.asciidoc:125

[source, python]
----
resp = client.search(
    index="my-index-000001",
    routing="my-routing-value",
    query={
        "match": {
            "user.id": "kimchy"
        }
    },
)
print(resp)
----
