Dev Blog:How to Configure the Mercury Search Function for Additional Locales
Date:
July 30, 2025
Expand Mercury search in OpenCms with new locales like Spanish. This guide shows how to adjust configuration files in OpenCms and Solr to support multilingual search functionality.

In the previous Dev Blog, we covered how to set up a new website using the Mercury template. In this post, we’ll walk through the steps required to configure the Mercury search functionality for locales beyond the default English and German locales provided by OpenCms.
By adjusting OpenCms and Solr settings, you can enable multilingual search capabilities for languages like Spanish, enhancing the user experience on your internationalized website.
To follow along, you’ll need access to the system configuration files of your OpenCms installation. While some familiarity with Solr is helpful, it is not strictly required.