Configuring Index Rebuild Settings During Development
Version: All, CMS 9, 9.7
June 26, 2017
Last updated: 1/30/2021
Prior to Ingeniux CMS 9.0 SR7, doing site development was difficult when using mixed versions of the CMS and DSS Preview due to the fact that Raven indexes would be rebuilt when the application pool was recycled. A new key can be configured in local-appsettings.config so that site developers can choose if they want indexes to be rebuilt when an application pool is recycled or when the site upgrade wizard is run against the site. While Ingeniux does not recommend running mixed versions of the software and DSS Preview in Production environments, it is common for site development in Development environments to be done in mixed versions.
For administrators, this knowledge base article demonstrates how to configure local-appsettings.config so that the CMS and DSS Preview can run mixed versions without risk.
This will require administrator access to the Development server and access to edit local-appsettings.config.
- In your development environment, navigate to the local-appsettings.config by going to [Drive]:\[path-to-cms-installation]\site.
- Open local-appsettings.config for editing.
- Look for the following key: add key="syncIndexDefinitionsOnContentStoreInit" value="false".
- Set the value to true if you would like indexes to be rebuilt when the application pool is recycled. Set the value to false if you would like indexes to be rebuilt when the site upgrade wizard is run.