Configuring Index Rebuild Settings During Development
Configuring your CMS site to rebuild indexes during site development.
Description
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.
Purpose
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.
Requirements
This will require administrator access to the Development server and access to edit local-appsettings.config.
Step-by-Step
- 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.
There are no comments yet.