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

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