// This file is autogenerated, DO NOT EDIT
// indices/forcemerge.asciidoc:216

[source, python]
----
resp = client.indices.forcemerge(
    index=".ds-my-data-stream-2099.03.07-000001",
    max_num_segments="1",
)
print(resp)
----
