// This file is autogenerated, DO NOT EDIT
// index-modules/allocation/filtering.asciidoc:54

[source, python]
----
resp = client.indices.put_settings(
    index="test",
    settings={
        "index.routing.allocation.include.size": "big,medium"
    },
)
print(resp)
----
