From 0a76df591620814706a766415ca48d76652c80ff Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Wed, 3 Jun 2026 09:40:49 +0200 Subject: [PATCH 1/2] clustering_with_ddev: install Elasticsearch 7 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 b1cbdcb2c2..815ab3eaa5 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 7 (default is 9 which is not supported; for version 8, also use `ibexa/elasticsearch8` package) +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:7.16.2 +cp .ddev/elasticsearch/docker-compose.elasticsearch7.yaml .ddev/ ddev config --web-environment-add SEARCH_ENGINE=elasticsearch ddev config --web-environment-add ELASTICSEARCH_DSN=http://elasticsearch:9200 ddev restart From d2ef8c427a59999c4fbfdf0f4d0bdde162da933f Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Wed, 3 Jun 2026 09:59:41 +0200 Subject: [PATCH 2/2] 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 815ab3eaa5..8d76682107 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 7 (default is 9 which is not supported; for version 8, also use `ibexa/elasticsearch8` package) +2. Sets the Elasticsearch version to 7 (default is 9 which is not supported, 8 is supported with the `ibexa/elasticsearch8` package) 3. Sets Elasticsearch as the search engine 4. Restarts the DDEV cluster and clears application cache 5. Injects the schema and reindexes the content