// This file is autogenerated, DO NOT EDIT
// search/search-your-data/retrieve-selected-fields.asciidoc:620

[source, python]
----
resp = client.search(
    index="my-index-000001",
    query={
        "match": {
            "user.id": "kimchy"
        }
    },
    docvalue_fields=[
        "user.id",
        "http.response.*",
        {
            "field": "date",
            "format": "epoch_millis"
        }
    ],
)
print(resp)
----
