// This file is autogenerated, DO NOT EDIT
// docs/delete-by-query.asciidoc:483

[source, python]
----
resp = client.indices.refresh()
print(resp)

resp1 = client.search(
    index="my-index-000001",
    size="0",
    filter_path="hits.total",
    query={
        "range": {
            "http.response.bytes": {
                "lt": 2000000
            }
        }
    },
)
print(resp1)
----
