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

[source, python]
----
resp = client.search(
    query={
        "multi_match": {
            "query": "Will Smith",
            "type": "best_fields",
            "fields": [
                "first_name",
                "last_name"
            ],
            "operator": "and"
        }
    },
)
print(resp)
----
