Skip to content

Enable OpenSearch

To use OpenSearch with your Shopware instance, set services.opensearch.enabled to true in your application.yaml file:

yaml
services:
  opensearch:
    enabled: true

Once that is done, commit this change and push it to your git repository. Now you need to update your application, see here.

Post-enablement actions

After you enable OpenSearch and update your application, you need to index your application. You can do this as follows:

  • Open an interactive session: sw-paas exec --new
  • Once the exec session is ready, run the following command: bin/console dal:refresh:index --use-queue

Note

If you set APP_ENV=dev, add the following under when@dev: in config/packages/web_profiler.yaml:

yaml
services:
    Shopware\Elasticsearch\Profiler\DataCollector:
        arguments:
            $enabled: false
            $adminEnabled: false

If you don't do this, the next deployment will fail.

Was this page helpful?
UnsatisfiedSatisfied
Be the first to vote!
0.0 / 5  (0 votes)