Sharing an IQ Elasticsearch cluster across a staging and live website
If you host a staging website and a live website, each with their own Content Delivery environment, you might want the two to use the same Elasticsearch cluster, but different indexes for your IQ search feature. To achieve this, modify your scripts so that the indexes in both environments have different names.
About this task
By default, IQ search services installed in one Content Delivery environment have the same index names as those installed in another Content Delivery environment. So long as each environment uses its own Elasticsearch cluster, this is not a problem.
But if you want to use the same Elasticsearch cluster for both environments, you need to ensure that the index names are unique. You can achieve this by adding a startup argument to your Elasticsearch index installation scripts, or, if you do not use those, your microservice installation scripts.