Introduction
OpenSearch can be configured to present itself as Elasticsearch 7 for compatibility reasons.
Enable Compatibility Mode
Edit the following file: /mnt/jrc-confs/opensearch/opensearch.env
Append the following:
compatibility.override_main_response_version=true
Restart OpenSearch:
systemctl restart opensearch.service
Verify that OpenSearch now presents its version as 7.x:
curl -XGET search:9200
The output should look similar to this:
curl -XGET search:9200
{
"name" : "255b6b63b70d",
"cluster_name" : "docker-cluster",
"cluster_uuid" : "UM2Ys0OaSwWe6W3gXItgAA",
"version" : {
"number" : "7.10.2",
"build_type" : "tar",
"build_hash" : "e505b10357c03ae8d26d675172402f2f2144ef0f",
"build_date" : "2022-01-14T03:37:51.375300Z",
"build_snapshot" : false,
"lucene_version" : "8.10.1",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "The OpenSearch Project: https://opensearch.org/"
}
Comments
0 comments
Article is closed for comments.