// This file is autogenerated, DO NOT EDIT
// troubleshooting/troubleshooting-searches.asciidoc:276

[source, python]
----
resp = client.explain(
    index="my-index-000001",
    id="0",
    query={
        "match": {
            "message": "elasticsearch"
        }
    },
)
print(resp)
----
