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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인