// This file is autogenerated, DO NOT EDIT
// query-dsl/simple-query-string-query.asciidoc:245

[source, python]
----
resp = client.search(
    query={
        "simple_query_string": {
            "query": "Will Smith",
            "fields": [
                "title",
                "*_name"
            ]
        }
    },
)
print(resp)
----
