Under API Reference / helpers / index , it refers to OpenSearch.indices, ie:
Any additional keyword arguments will be passed to OpenSearch.indices.create unchanged.
It’s not clear what “OpenSearch.indices” means. The obvious interpretation doesn’t work:
>>> from opensearchpy import OpenSearch
>>> OpenSearch.indices
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: type object 'OpenSearch' has no attribute 'indices'
Is this supposed to be opensearchpy.client.indices.IndicesClient?