// This file is autogenerated, DO NOT EDIT
// query-dsl/multi-match-query.asciidoc:262

[source, python]
----
resp = client.search(
    query={
        "multi_match": {
            "query": "quick brown f",
            "type": "phrase_prefix",
            "fields": [
                "subject",
                "message"
            ]
        }
    },
)
print(resp)
----
