From 25d8840178836c76bc48b0800c7b05fc23205489 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Wed, 3 Jun 2026 09:36:24 +0200 Subject: [PATCH 1/3] clustering_with_ddev: install Elasticsearch 8 instead of 9 --- .../clustering/clustering_with_ddev.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md b/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md index eb9e7f6d77d..95a2e11d079 100644 --- a/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md +++ b/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md @@ -160,12 +160,15 @@ A [search engine](search_engines.md) can be added to the cluster. The following sequence of commands: 1. Adds the Elasticsearch container -2. Sets Elasticsearch as the search engine -3. Restarts the DDEV cluster and clears application cache -4. Injects the schema and reindexes the content +2. Sets the Elasticsearch version to 8 (default is 9 which is not supported, 7 is supported) +3. Sets Elasticsearch as the search engine +4. Restarts the DDEV cluster and clears application cache +5. Injects the schema and reindexes the content ```bash ddev add-on get ddev/ddev-elasticsearch +ddev dotenv set .ddev/.env.elasticsearch --elasticsearch-docker-image=elasticsearch:8.19.0 +cp .ddev/elasticsearch/docker-compose.elasticsearch8.yaml .ddev/ ddev config --web-environment-add SEARCH_ENGINE=elasticsearch ddev config --web-environment-add ELASTICSEARCH_DSN=http://elasticsearch:9200 ddev restart From 508f06c45cfee3ef17441afd81bbd1e7ef115d08 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Tue, 21 Jul 2026 10:08:30 +0200 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> --- .../clustering/clustering_with_ddev.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md b/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md index d2c7fbf95ee..7418afa926f 100644 --- a/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md +++ b/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md @@ -160,14 +160,14 @@ A [search engine](search_engines.md) can be added to the cluster. The following sequence of commands: 1. Adds the Elasticsearch container -2. Sets the Elasticsearch version to 8 (default is 9 which is not supported, 7 is supported) +2. Sets the Elasticsearch version to supported 8 - a full version number is required, see [Elasticsearch Docker image](https://hub.docker.com/_/elasticsearch) 3. Sets Elasticsearch as the search engine 4. Restarts the DDEV cluster and clears application cache 5. Injects the schema and reindexes the content ```bash ddev add-on get ddev/ddev-elasticsearch -ddev dotenv set .ddev/.env.elasticsearch --elasticsearch-docker-image=elasticsearch:8.19.0 +ddev dotenv set .ddev/.env.elasticsearch --elasticsearch-docker-image=elasticsearch:8.19.18 cp .ddev/elasticsearch/docker-compose.elasticsearch8.yaml .ddev/ ddev config --web-environment-add SEARCH_ENGINE=elasticsearch ddev config --web-environment-add ELASTICSEARCH_DSN=http://elasticsearch:9200 From 69b0e0dd3a22d2b7bebfed79dcf25cdaf9eb1f5f Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Tue, 21 Jul 2026 12:16:04 +0200 Subject: [PATCH 3/3] Apply suggestions from code review Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> --- .../clustering/clustering_with_ddev.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md b/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md index 7418afa926f..495767882fc 100644 --- a/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md +++ b/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md @@ -160,7 +160,7 @@ A [search engine](search_engines.md) can be added to the cluster. The following sequence of commands: 1. Adds the Elasticsearch container -2. Sets the Elasticsearch version to supported 8 - a full version number is required, see [Elasticsearch Docker image](https://hub.docker.com/_/elasticsearch) +2. Sets the Elasticsearch version to 8 (default is 9 which is not supported, 7 is supported) - a full version number is required, see [Elasticsearch Docker image](https://hub.docker.com/_/elasticsearch) 3. Sets Elasticsearch as the search engine 4. Restarts the DDEV cluster and clears application cache 5. Injects the schema and reindexes the content