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

[source, python]
----
resp = client.search(
    stored_fields=[
        "user",
        "postDate"
    ],
    query={
        "term": {
            "user": "kimchy"
        }
    },
)
print(resp)
----
