// This file is autogenerated, DO NOT EDIT
// rest-api/common-options.asciidoc:342

[source, python]
----
resp = client.search(
    index="my-index-000001",
    size="surprise_me",
)
print(resp)
----
