I'm exploring using elasticsearch in Toolforge. I'm running Python 3.7, with elasticsearch==7.16.2 installed. When I run:
def main():
es = Elasticsearch(['elasticsearch.svc.tools.eqiad1.wikimedia.cloud:80'])
print(es.info())
I get:
> elasticsearch.exceptions.UnsupportedProductError: The client noticed that the server is not a supported distribution of Elasticsearch
Any idea what's wrong? Are we running some very old version of elasticsearch server?