AWS Opensearch and NEST

0

I am trying to connect to Opensearch Version 1.3 using the .net NEST library 7.17 from a .net Core app and I get the error:

Elasticsearch.Net.UnsupportedProductException: 'The client noticed that the server is not Elasticsearch and we do not support this unknown product.'

I tried downgrading to NEST 7.14.1 same issue! Any help would be much appreciated!

demandé il y a 2 ans1757 vues
1 réponse
0

Hi, it seems like the dot net client library(NEST) is not updated with OpenSearvch V1.3

The OpenSearch project was first announced in January 2021 as an open-source fork of Elasticsearch 7.10.2.

Please enable the compatibility mode in the OpenSearch domain and try again with NEST.

Following command will enable compatibility mode in existing OpenSearch domain:

PUT /_cluster/settings
{
  "persistent" : {
    "compatibility.override_main_response_version" : true
  }
}

Compatibility Mode

profile pictureAWS
awsanil
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions