// This file is autogenerated, DO NOT EDIT
// data-management/migrate-index-allocation-filters.asciidoc:175

[source, python]
----
resp = client.indices.put_settings(
    index="my-index",
    settings={
        "index.routing.allocation.require.data": None,
        "index.routing.allocation.include._tier_preference": "data_hot"
    },
)
print(resp)
----
