Disabling the indexing procedure is useful when extensive content changes are done, such as during imports.
When content is changed (such as published or moved to trash), Optimizely Content Management System (CMS) sends a request to Optimizely Search & Navigation by default to save the change. At this point, an automatic index process indexes the changed item only, not the entire website.
However, if a CMS user is editing an entire website or importing content, this process can create a large number of requests and jam the automatic indexing. In this case, you should disable automatic indexing until the editing is done then reindex the website.
## Disable automatic indexing
Optimizely Search & Navigation is installed with following packages:
Access to and authorization to edit the website’s web.config file.
To disable the automatic indexing process, follow these steps.
In the website’s web.config file, insert the following code under the <configuration><configSections> element:
Insert the following code under the <configuration> element:
### Re-enable automatic indexing
To re-enable automatic indexing, set DisableEventedIndexing to **false**.
## Sample web.config file
Here is a sample of the web.config file, focusing on the Episerver Search & Navigation configuration. (Some parts are omitted for ease of review.)