Build Search

With the index built and healthy, you can now start building your search interface and test it out, as you go, with data drawn from your index.

To build your search interface, you will use the Coveo for Sitecore Hive Framework. Most Coveo for Sitecore Hive Framework components simply encapsulate Coveo JavaScript Search Framework components as Sitecore MVC presentation items. Think of Coveo for Sitecore Hive Framework components as the building blocks for your Sitecore search pages (see Coveo for Sitecore Hive Framework).

Creating Your Search Solution

Having gained a clearer understanding of the Coveo for Sitecore Hive Framework, you will be eager to start putting together a Coveo-powered search page. The Create the Search Solution documentation section will help you choose the main search page creation option that’s best for you. Based on your decision, the documentation will provide a path towards a basic, but complete and functional search solution (see Create the Search Solution).

The improvements you can subsequently make to your basic search interface are nearly limitless, whether in the user interface functionalities, in the quality of the results or in the way these results are presented.

Retrieving Results

At this point, you have a basic, functional search interface with all the necessary components, including everything required to start tracking analytics. You should now refer to the Retrieving Results section of the documentation. This section includes information on how to alter your queries using Query Pipelines or your search results before they’re displayed using the REST Endpoint pipelines. You need to be able to index content outside of your Sitecore website(s) and have it displayed in your Coveo for Sitecore search interface? The way to achieve this may be found in this section (see Retrieve Results).

Query Performance Best Practices

Waiting upon a search interface to return results is unappealing, so when index size and query rate increase, query performance becomes a prime concern. Coveo for Sitecore documentation lists dos and don’ts that contract, or lengthen, query times (see Coveo for Sitecore Query Performance Best Practices).

Improving the Experience

The Improving the Experience section of the documentation contains information on lesser-known components that are sure to come in handy in very specific use cases. Additionally, this section describes how you can leverage the Coveo JavaScript Search Framework to the fullest extent, even when you think a Coveo for Sitecore Hive component can’t fulfill a given purpose. Instructions on how to use Sitecore personalization with Coveo are also available (see Improve the Experience).

Styling the Experience

The Styling the Experience section of the documentation details how you can configure the search interface on a per-tab basis. Displaying search results of different types of Sitecore items the same way makes no sense. Two articles on result templates explain how you can set up condition-based search result contents. Finally, this section guides you in ensuring the search experience you provide your users is consistent with the look and feel of the rest of your site (see Style the Experience).

Recommended Articles