--- title: Use indexing strategies slug: '2218' canonical_url: https://docs.coveo.com/en/2218/ collection: coveo-for-sitecore-v5 source_format: adoc --- # Use indexing strategies To keep search indexes up to date, Coveo for Sitecore leverages [Sitecore index update strategies](https://doc.sitecore.com/xp/en/developers/82/sitecore-experience-platform/index-update-strategies.html). We recommend that you allow the strategies to do the work for you, as much as possible. When a manual update of your search indexes is absolutely necessary, there are several methods you can choose from (see [Update your search indexes](https://docs.coveo.com/en/2426/)). ## Default configuration By default Coveo for Sitecore will create two indexes: `Coveo_master_index` and `Coveo_web_index`. |=== | Index ID | Strategy element name | Item indexed when it's | `Coveo_master_index` | `coveoSyncMaster` | Saved | `Coveo_web_index` | `coveoOnPublishEndAsync` | Published |=== ## Location of the strategy statement The strategies are defined on each index in the [CoveoSearchProvider.config file](https://docs.coveo.com/en/2562/). ```xml $(id) ... ... ``` ## Editing a strategy . Open your `Coveo.SearchProvider.Custom.config` file. It's located under `\Website\App_config\Include\Coveo`. . At the end of the `sitecore` node, before the scheduling node, if the index you want to update doesn't exist yet, create it by adding the following elements: ```xml ``` . Change the `index id` to the index you want to modify. . Change the `strategy` to match the one you want to modify. . Save and close your file.