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

[source, python]
----
resp = client.search(
    query={
        "query_string": {
            "fields": [
                "content",
                "name.*^5"
            ],
            "query": "this AND that OR thus"
        }
    },
)
print(resp)
----
