// This file is autogenerated, DO NOT EDIT
// indices/clearcache.asciidoc:116

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

resp1 = client.indices.clear_cache(
    index="my-index-000001",
    query=True,
)
print(resp1)

resp2 = client.indices.clear_cache(
    index="my-index-000001",
    request=True,
)
print(resp2)
----
