--- title: Update your search indexes slug: '2426' canonical_url: https://docs.coveo.com/en/2426/ collection: coveo-for-sitecore-v5 source_format: adoc --- # Update your search indexes This article explains how to rebuild a search index in Sitecore. For an overview of the indexing process, see the [Coveo for Sitecore indexing guide](https://docs.coveo.com/en/2216/). ## Rebuilding a search index manually This method re-indexes all the items of the content tree for the Sitecore databases that you select. Every single item is re-indexed, regardless of whether it was changed, so this operation can be time-consuming. Use this method when: * You have just installed Coveo for Sitecore, as your search indexes are empty at this point. * You need to re-process all items of your content tree. This could be the case if you configured a Computed Field or an Inbound Filter. To re-index your entire Sitecore content tree . Navigate to the **Indexes** section of the **Command Center** at `\https:///coveo/command-center/index.html#indexes/`. . Rebuild the Coveo indexes for both Sitecore databases or only one of the two indexes. ** To rebuild both the `Coveo_master_index` and the `Coveo_web_index` Click **Rebuild All** near the upper-right corner of the screen. ![Screenshot of the Coveo Command Center showing index statuses and document counts](https://docs.coveo.com/en/assets/images/c4sc-v5/command-center-indexes-rebuild-all.png) ** To rebuild only one of the two Coveo indexes ... Click the `Coveo_master_index` or the `Coveo_web_index` row to expand its index details section. ![Screenshot of the Command Center indexes page with the Coveo Web Index expanded](https://docs.coveo.com/en/assets/images/c4sc-v5/command-center-indexes-rebuild-web-index.png) ... Click **Rebuild** near the bottom-left of the page. . Follow the rebuild progress. ![Screenshot of the Command Center indexes page with both indexes in the Documents Validation phase and the Sending Permissions phase displayed as skipped because index permissions is set to false](https://docs.coveo.com/en/assets/images/c4sc-v5/command-center-web-index-rebuild-in-progress.png) . An index is done rebuilding when its status returns to `Idle`. ![Screenshot of the Command Center with both indexes now showing status Idle and a message saying their last rebuild completed some minutes ago](https://docs.coveo.com/en/assets/images/c4sc-v5/command-center-web-index-rebuild-completed.png) > **Tip** > > * You can hover over the index progress bar for details regarding each indexing phase. > For example, you can hover over a skipped phase for an explanation in this regard. > > ![Screenshot showing the user hovering over the Sending Permissions phase in the indexing progress bar and Coveo providing a tooltip message explaining why the phase was skipped](:https://docs.coveo.com/en/assets/images/c4sc-v5/command-center-indexing-step-skipped.png) > > * An index rebuild is failing or taking longer than normal? > [Analyze the rebuild logs](https://docs.coveo.com/en/2147/) to isolate the issue. ## Refreshing a crawler [.version.c4sc.c4sc-new.5-0-362-4.April-18&-2019] [Coveo for Sitecore 5.0.362.4](https://docs.coveo.com/en/2847#release-notes) A Crawler refresh re-indexes only the crawler `Root` item and all its sub-items. Additionally, a refresh doesn't include a `DocumentsValidation` step, as does a rebuild operation. A refresh is therefore significantly less resource-intensive than a rebuild. You can access the crawler **Refresh** buttons in the **Indexes** section of the **Command Center** by expanding the index row. ![Screenshot of Coveo Command Center indexes page with the Coveo web index expanded revealing the refresh buttons](https://docs.coveo.com/en/assets/images/c4sc-v5/command-center-indexes-rebuild-web-index.png) Coveo for Sitecore default crawler configurations are defined in the `Coveo.SearchProvider.config` file and you can patch these configurations in `Coveo.SearchProvider.Custom.config` (see [Change the crawling root of an index](https://docs.coveo.com/en/2159/)). ## Re-indexing a section of your content tree in the Content Editor This method will re-index only one item of your content tree, and its descendants. Only modified items will be re-indexed, so this method is quite fast. Use this method when you only need to re-index a section of your Content Tree. This is especially useful for development and testing/debugging purposes. **Steps** . Log in to the Sitecore Desktop. . In the lower-right corner, select the database for which you want to re-index an item. By default, the `master` database is selected. ![Screenshot of the lower-right corner of the Sitecore Desktop showing the selected database](https://docs.coveo.com/en/assets/images/c4sc-v5/39354953.png) . Open the Content Editor (**Sitecore Start Menu** > **Content Editor**). . In the left side panel (Content Tree), select the item that you want to re-index. ![Screenshot of the Sitecore content tree with the Home item selected](https://docs.coveo.com/en/assets/images/c4sc-v5/39354952.png) . Under the **Developer** tab, choose **Re-Index Tree**. ![Screenshot of the Sitecore Developer tab indexing tools with the Re-Index Tree option highlighted](https://docs.coveo.com/en/assets/images/c4sc-v5/39354951.png) > **Note** > > To display the **Developer** tab, right-click the menu toolbar and select **Developer**. . Wait for the following dialog to complete. ![Screenshot of the Sitecore Re-indexing the current item and its descendants dialog](https://docs.coveo.com/en/assets/images/c4sc-v5/39354950.png) ## Rebuilding a search index programmatically > **Important** > > Refreshing or rebuilding indexes can be resource-intensive for a Sitecore instance. > Before building an automation method, ensure that you fully understand the [Coveo for Sitecore indexing strategies](https://docs.coveo.com/en/2218/). Coveo for Sitecore offers a RESTful indexing API which can be used to rebuild indexes. You can try it on the SWAGGER endpoint by navigating to `\http:///coveo/api/index/docs/index#!/Indexes/IndexesV1_Rebuild`.