使用 ElasticSearch Python API 时如何获取 IndicesClient
使用官方 ElasticSearch Python 客户端时,你可以通过以下方式获取 Elasticsearch 实例的 IndicesClient
es.indices
get_indices_client.py
es.indices完整示例:
get_indices_client_example.py
from elasticsearch import Elasticsearch
es = Elasticsearch()
indices_client = es.indicesCheck out similar posts by category:
Databases, ElasticSearch, Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow