// This file is autogenerated, DO NOT EDIT
// query-dsl/term-query.asciidoc:28

[source, python]
----
resp = client.search(
    query={
        "term": {
            "user.id": {
                "value": "kimchy",
                "boost": 1
            }
        }
    },
)
print(resp)
----
