Index Sitecore Content
Index Sitecore Content
Queries in Sitecore are driven by search indexes. Coveo queries are no exception to the rule. Once you have installed Coveo for Sitecore, the first thing to do is to index your Sitecore content to make it searchable.
The default configuration of the
web indexes might not match the structure of your Sitecore content tree.
You might need to change your index crawling root to fit your needs (see Change the Crawling Root of an Index).
The Indexing Sitecore Content documentation section applies to Sitecore XP and XM instances. For information on indexing Sitecore XC content, see Indexing Catalog Items.
Filtering Your Content
When your crawling roots are properly set, your focus then turns to ensuring only the items you want to make searchable are indexed. The Filtering Your Content section provides you with information on the default filtering in Coveo for Sitecore, and on the various methods available to filter out other unwanted items (see Filter Your Content).
Indexing Leading Practices
Now that you’re targeting the right content to index, you’re ready to start indexing. You don’t always need to initiate indexing processes because Coveo for Sitecore leverages Sitecore index update strategies to automatically keep your indexes up to date. Indexing is a resource-intensive operation. Hence, when you need force an index update, you want to choose the most suitable method. The Indexing Leading Practices section contains all the information you need to ensure that you efficiently update your search indexes.
The Indexing Leading Practices section is also meant to help you understand and monitor the different phases of the indexing process through the Sitecore log entries, and manage your indexes in the Coveo Administration Console.
Indexing Fields and Page Content
For an optimal search experience, you want to index fields and their values as well as the HTML representation of your Sitecore items.
The Indexing Fields section guides you through the field indexing process, from selecting the fields you want to index to configuring field settings for use in field value-based search interface features. This section also aims to help you make sense of field name translations, the search result title selection sequence, and how Coveo for Sitecore resolves hosts for the clickable URI of your Sitecore items, both at indexing and at query time (see Index Fields).
Indexing Sitecore item page content makes that HTML free-text searchable and lets you to display this HTML content in the Coveo Quick View component, directly in your search results. See the Indexing Page Content section for the various page content indexing options available in Coveo for Sitecore, their advantages and drawbacks (see Index Page Content).
Coveo for Sitecore and Sitecore Access Rights
Coveo for Sitecore handles Sitecore access rights to ensure that a Sitecore user that doesn’t have access to a given item in Sitecore isn’t able to access that item through a Coveo for Sitecore search either. The How Coveo for Sitecore Handles Sitecore Access Rights article explains how Coveo for Sitecore maps Sitecore access rights to Coveo permission levels (see How Coveo for Sitecore Handles Sitecore Access Rights).