// This file is autogenerated, DO NOT EDIT
// search/search-your-data/search-api.asciidoc:26

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