Update Your Search Indexes
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.
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
Rebuild the Coveo indexes for both Sitecore databases or only one of the two indexes.
To rebuild both the
Click Rebuild All near the upper-right corner of the screen.
To rebuild only one of the two Coveo indexes
Coveo_web_indexrow to expand its index details section.
Click Rebuild near the bottom-left of the page.
Follow the rebuild progress.
An index is done rebuilding when its status returns to
You can hover your mouse 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.
An index rebuild is failing or taking longer than normal? Analyze the rebuild logs to isolate the issue.
Refreshing a Crawler
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.
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).
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.
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
masterdatabase is selected.
Open the Content Editor (Sitecore Start Menu > Content Editor).
In the left-hand side panel (Content Tree), select the item that you want to re-index.
Under the Developer tab, choose Re-Index Tree.Note
To display the Developer tab, right-click the menu toolbar and select Developer.
Wait for the following dialog to complete.
Rebuilding a Search Index Programmatically
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.
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