Using Elasticsearch with Drupal on Platform.sh | Platform.sh Demo

Опубликовано: 17 Июнь 2026
на канале: Upsun
1,091
0

Elasticsearch is a distributed RESTful search engine built for the cloud. This demo shows how to configure Elasticsearch to work with Drupal on Platform.sh.

Platform.sh fully supports Elasticsearch and Solr for search.

Then you can install the Drupal modules to your application, and push.

Configure the Elasticsearch cluster in Drupal, noting the machine name that you give it.

Finally, add some glue code to your settings.php using the relationship name and the name of the cluster to add Elasticsearch to your Drupal config.

Now that it's enabled, you can configure your Elasticsearch instance in the Search API, and you're ready to go.
_____
Learn more: https://platform.sh/blog/platformsh-p...
Get started with a free trial: https://auth.api.platform.sh/
Have a question? Contact us: https://platform.sh/contact/

Follow us on social media:
Twitter:   / platformsh  
Twitter (France):   / platformsh_fr  
LinkedIn:   / platformsh  
LinkedIn (France):   / platform-sh-france  
Facebook:   / platform.sh  

About Platform.sh
Platform.sh combines a robust, highly reliable hosting platform and modern tools that enable development teams to build, evolve, and scale applications faster and more efficiently—contributing to achieving departmental and organizational goals.

Whether your organization has one website or 1,000, Platform.sh lets your dev team focus on creating innovative, sticky features and apps with their favorite tools, languages, and frameworks—instead of managing infrastructure and process.

Key moments:
00:00 - Intro
• Introduction to using Elasticsearch with Drupal on Platform.sh, highlighting Elasticsearch as a distributed, RESTful search engine ideal for cloud environments.

00:41 - Configuration of Elasticsearch in Drupal
• Steps to configure the Elasticsearch cluster in Drupal, including specific configurations in the .platform.app.yaml file and services.yaml.

00:56 - Integration and Final Setup
• Final integration steps involving glue code in settings.php to connect Drupal with the configured Elasticsearch cluster.

01:03 - Enabling and Configuring in Search API
• Explanation of enabling the Elasticsearch instance within Drupal's Search API for use in the application.