// This file is autogenerated, DO NOT EDIT
// mapping/fields/ignored-field.asciidoc:51

[source, python]
----
resp = client.search(
    aggs={
        "ignored_fields": {
            "terms": {
                "field": "_ignored"
            }
        }
    },
)
print(resp)
----
