// This file is autogenerated, DO NOT EDIT
// how-to/size-your-shards.asciidoc:604

[source, python]
----
resp = client.indices.forcemerge(
    index="my-index-000001",
    only_expunge_deletes=True,
)
print(resp)
----
