i have the following sequence of python api calls to ES.
from elasticsearch import Elasticsearch
es=Elasticsearch([{'host':'127.0.0.1','port':9200}])
es.indices.reload_search_analyzers(index="myindex")
but I see an error message
AttributeError: 'IndicesClient' object has no attribute 'reload_search_analyzers'
I think you're getting this error because you're using the Python Elasticsearch client version 7.2 or older, while this API was first introduced in Elasticsearch version 7.3+
In particular, it seems be present in 7.5.1 or 7.6.0
The cluster can stay on Elasticsearch 7.3.
The Elasticsearch client must be at least on 7.5.1.
But we recommend to align Elasticsearch & Client versions in general.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.