// This file is autogenerated, DO NOT EDIT
// mapping/types/range.asciidoc:75

[source, python]
----
resp = client.search(
    index="range_index",
    query={
        "term": {
            "expected_attendees": {
                "value": 12
            }
        }
    },
)
print(resp)
----
