diff --git a/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md b/docs/infrastructure_and_maintenance/clustering/clustering_with_ddev.md index eb9e7f6d77..95a2e11d07 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