// This file is autogenerated, DO NOT EDIT
// indices/analyze.asciidoc:378

[source, python]
----
resp = client.indices.analyze(
    index="analyze_sample",
    text="this is a test",
)
print(resp)
----
