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

[source, python]
----
resp = client.search(
    query={
        "dis_max": {
            "queries": [
                {
                    "multi_match": {
                        "query": "Will Smith",
                        "type": "cross_fields",
                        "fields": [
                            "first",
                            "last"
                        ],
                        "minimum_should_match": "50%"
                    }
                },
                {
                    "multi_match": {
                        "query": "Will Smith",
                        "type": "cross_fields",
                        "fields": [
                            "*.edge"
                        ]
                    }
                }
            ]
        }
    },
)
print(resp)
----
