Perform the following steps to activate Elasticsearch in your environment.

Enable service

Add (or uncomment) the elasticsearch service configuration.
type: elasticsearch:7.9
disk: 256

Add relationship

Add (or uncomment) the relationship for it the app configuration.
essearch: "searchelastic:elasticsearch"

Configure instance

Please follow the setup and indexing steps to prepare your instance as described in Set up Elasticsearch.
After that, the following environment variables are automatically set in the platformsh-env.php file:

Enable Elasticsearch

Ultimately, activate Elasticsearch, by setting the environment variable SHOPWARE_ES_ENABLED to 1. You can either do that by uncommenting the corresponding line in platformsh-env.php or setting it in the variables section of the app configuration.
Last modified 3mo ago
Copy link
Edit on GitHub
On this page
Enable service
Add relationship
Configure instance
Enable Elasticsearch