How to get IndicesClient when using ElasticSearch Python API
When using the official ElasticSearch Python client, you can get the IndicesClient for an Elasticsearch instance by using
es.indices
Full example:
from elasticsearch import Elasticsearch
es = Elasticsearch()
indices_client = es.indices
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow