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

[source, python]
----
resp = client.search(
    query={
        "query_string": {
            "fields": [
                "title",
                "content"
            ],
            "query": "this that thus",
            "minimum_should_match": 2
        }
    },
)
print(resp)
----
