After migrating to AWS OpenSearch from Elasticsearch we get the following error when calling OpenSearch via the Elasticsearch-Rest-High-Level-Client:
elasticsearch.ElasticsearchException: Invalid or missing tagline [The OpenSearch Project: https://opensearch.org/]
As it turns out the version of the
Elasticsearch-Rest-High-Level-Clientwas too new. We used the client version7.15.0with OpenSearch1.0. We downgraded the client to7.10.2and it worked again.Also using the
OpenSearch-Rest-High-Level-Clientin version1.0worked, too.