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!

已提問 2 年前檢視次數 1757 次
1 個回答
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
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南