- Coveo for Sitecore Hive Framework
- Setting up the Interface
- Retrieving Results
Improving the Experience
- Creating a Simple Result List
- Adding Related Controls
- Toggling Between a List and a Card Result Layout
- Inserting a Category Facet
- Overriding Coveo for Sitecore Hive Initialization Options
- Using Custom Initialization Scripts
- Configuring Custom Ranges for a Date Range or Numeric Range Facet
- Inserting and Customizing a Distance Resources Component
- Using Sitecore Personalization With Coveo
- Duplicating a Coveo for Sitecore Component to Modify Its HTML
- Creating Custom Components
- Styling the Experience
- Query Performance Best Practices
Improving the Experience
From dealing with different user locations to providing meaningful content in search results, it is important to give users the tools they need to find relevant answers to their many questions. Coveo for Sitecore comes with many useful tools that help improve user digital experience through your search pages. Leveraging those tools is crucial to successfully deliver relevant content to end users.
Adding Front-End Components
With Coveo for Sitecore Hive modularity, you can easily build a basic search page and improve it along the way, according to your requirements (see Creating a Simple Result List).
Add Related Controls to your search interface to improve the user experience. From a result header to a facet, you have it all built in. Give full control to the users, and make your search component a key solution for their questions.
Although you have a fully functional search page, it needs to scale from a device to another. Make sure it is responsive and use the available tools to help you along. Dealing with manys devices, browsers and context makes it difficult from time to time to deliver top-quality layouts. By default, your search results will be displayed as a list. You can easily configure the default layout to list, cards or table. Consider giving users the choice of result layout (see Toggling Between a List and a Card Result Layout).
Implementing Device Detection in Sitecore lets you detect which device is being used to access your website and customize the experience accordingly. It can be used along with CSS media query.
For content relevancy improvement, do not underestimate Inserting and Customizing a Distance Resources Component. Distance resources component can be used to filter query based on geolocation. Once implemented, you can leverage Distance Facet Slider, Distance Facet Range and Distance sort components.
Using Sitecore Personalization With Coveo lets you display different search results depending on external conditions defined by Sitecore (e.g., display different search result layout depending on user location).
Coveo for Sitecore offers a variety of facet types and facet configurations. Allow users to drill down in search results and minimize your number of facets by opting for the Coveo Category Facet whenever this facet type is suitable for your data structure (see Inserting a Category Facet). Date Range and Numeric Range facets come with default ranges that might not be ideal for your data values. Apply custom date ranges to these facets when necessary (see Configuring Custom Ranges for a Date Range or Numeric Range Facet).
Maximizing Component Practicality Through Options
Duplicating a Coveo for Sitecore Rendering
Sometimes, the only thing missing for a Coveo for Sitecore component to meet your needs is some changes to its HTML. In such circumstances, you do not need to go out of your way and create an entire custom component, which would involve coding and compiling a Model. The solution for these use cases is far less elaborate (see Duplicating a Coveo for Sitecore Component to Modify Its Html).
If you ever feel like none of the out-of-the-box Coveo for Sitecore Hive components delivers the needed functionality, you might then consider creating a Custom Component.
Creating custom components should only be considered as a last resort.