From 474d3ccb99dc52e01885db595a00f022bb9c6a6c Mon Sep 17 00:00:00 2001 From: TimVNL Date: Thu, 12 Nov 2026 08:57:57 +0100 Subject: [PATCH] Add warning that changing the OpenSearch version deletes all search indexes --- .../tools/how-to-use-elasticsearch-on-hypernode.md | 10 ++++++++-- .../how-to-use-the-hypernode-systemctl-cli-tool.md | 6 +++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/hypernode-platform/tools/how-to-use-elasticsearch-on-hypernode.md b/docs/hypernode-platform/tools/how-to-use-elasticsearch-on-hypernode.md index 75e476cd..f837c936 100644 --- a/docs/hypernode-platform/tools/how-to-use-elasticsearch-on-hypernode.md +++ b/docs/hypernode-platform/tools/how-to-use-elasticsearch-on-hypernode.md @@ -26,7 +26,9 @@ In our release note you'll find a [more detailed description of Elasticsearch.]( ## How to Enable Elasticsearch on Hypernode -**Please note that when you change versions all Elasticsearch data will be deleted.** +```{warning} +When you change versions all Elasticsearch data will be deleted. +``` Elasticsearch can be enabled on all Hypernodes. To enable Elasticsearch, you can [talk to the API](https://community.hypernode.io/#/Documentation/hypernode-api/settings/README) or use the [hypernode-systemctl command-line tool](../tools/how-to-use-the-hypernode-systemctl-cli-tool.md). First configure the Elasticsearch version you wish to use. You can see the available versions of Elasticsearch which you can use on your Hypernode when running hypernode-systemctl settings. This will show the following: @@ -105,7 +107,11 @@ ssh -L 9200:localhost:9200 app@yourhypernodename.hypernode.io ``` -If you ever need to switch between `6.x` to `7.x` or back after you have already been using it, note that **when you change versions all Elasticsearch data will be deleted**. When you are using the default Magento implementation that should be OK since you can just re-index the data. +```{warning} +If you ever need to switch between `6.x` and `7.x` or back after you have already been using it: when you change versions, all Elasticsearch data will be deleted. +``` + +When you are using the default Magento implementation that should be OK since you can just re-index the data. ## How to Configure Magento to Use Elasticsearch diff --git a/docs/hypernode-platform/tools/how-to-use-the-hypernode-systemctl-cli-tool.md b/docs/hypernode-platform/tools/how-to-use-the-hypernode-systemctl-cli-tool.md index 3bd1b5de..e3c1c6ba 100644 --- a/docs/hypernode-platform/tools/how-to-use-the-hypernode-systemctl-cli-tool.md +++ b/docs/hypernode-platform/tools/how-to-use-the-hypernode-systemctl-cli-tool.md @@ -58,7 +58,7 @@ To see which values you can set and which values they are allowed to have take a | **nodejs_version**
Change the Node version | 22 | 6, 10, 16, 18, 20, 22, 24, 26 | | **opensearch_auto_create_index**
| True | True, False | | **opensearch_enabled**
Enable OpenSearch | True | True, False | -| **opensearch_version**
Change the OpenSearch version | 2.12 | 1.x, 2.6, 2.12, 2.19, 3.3 | +| **opensearch_version**
Change the OpenSearch version (note: changing the
version deletes all search indexes)
| 2.12 | 1.x, 2.6, 2.12, 2.19, 3.3 | | **openvpn_enabled**
Enables OpenVPN for secure database connections | False | True, False | | **password_auth**
Indicates whether password authentication for the Hypernode is
allowed instead of only SSH keys
| True | True, False | | **permissive_memory_management**
Configure memory management policy (OOM kills) | False | True, False | @@ -139,6 +139,10 @@ Indicates whether `use_index_extensions` and `mrr` are turned off. If turned off - `opensearch_version`: Change the OpenSearch version - `opensearch_auto_create_index`: Indicates whether OpenSearch is allowed to automatically create an index when a document is indexed into a non-existing index. +```{warning} +Changing the OpenSearch version will delete all search indexes. You will have to reindex the data from your application afterwards. +``` + ### Enabled IonCube This options allows you to enable IonCube if needed. Note: IonCube is a huge performance killer, so only enable it if you really need it!