Loading
Aerospike Connect for Elasticsearch compatibility with Elasticsearch server
Elasticsearch server v7.11.x or later
The connector works seamlessly with Elasticsearch server v7.11.x or later.
Elasticsearch server below v7.11.x
For the older version of Elasticsearch server, you need to configure the Default Headers Section of es-client
. You need to configure this when the Elasticsearch server version is lower than 7.11.x and you see an exception from the Elasticsearch server similar to
{"error":"Content-Type header [application/vnd.elasticsearch+json; compatible-with=8] is not supported","status":406}
in your logs. To overcome this error, override the Content-type
header in this section as exampled below:
Example
...
es-client:
...
default-headers:
Content-type: application/json
...
...