With this release, we’ve added support for OpenSearch 2.x!

It has taken us some time to make this available, because the Debian distribution of OpenSearch 2.x arrived just at the beginning of 2023. Magento has had support for OpenSearch for quite some time, but since version 2.4.6, it added support for OpenSearch 2.x.

OpenSearch settings found in the Magento admin backend

Using OpenSearch on Hypernode

Switching to OpenSearch 2.x isn’t very exciting, you just need to set the setting opensearch_enabled to True.

app@abcdef-example-magweb-cmbl:~$ hypernode-systemctl settings opensearch_enabled True
WARNING: Enabling OpenSearch will disable ElasticSearch, which you are currently running.
Continue? (yes/no) yes
Operation was successful and is being processed. Please allow a few minutes for the settings to be applied. Run 'livelog' to see the progress.

Then you need to wait a minute or two and you’ll have OpenSearch available on your system.

app@abcdef-example-magweb-cmbl:~$ curl localhost:9200/
  "name" : "abcdef-example-magweb-cmbl.nodes.hypernode.io",
  "cluster_name" : "opensearch",
  "cluster_uuid" : "gmQUHI7JT8Cm-LDBMoeJ4w",
  "version" : {
    "distribution" : "opensearch",
    "number" : "2.6.0",
    "build_type" : "deb",
    "build_hash" : "7203a5af21a8a009aece1474446b437a3c674db6",
    "build_date" : "2023-02-24T18:58:38.730482464Z",
    "build_snapshot" : false,
    "lucene_version" : "9.5.0",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  "tagline" : "The OpenSearch Project: https://opensearch.org/"

Feedback / user input

If you have any suggestions / ideas / potential improvements, please let us know by contacting us!