Create the search solution
Create the search solution
|
Legacy feature
This article pertains to the Coveo Hive framework which is now in maintenance mode. Choose one of Coveo’s more modern, lightweight, and responsive libraries for any future search interface development. See the search interface Implementation guide for more details. |
When beginning to build a Coveo Hive search solution into your website, you might feel overwhelmed and not know where to start. The goal of this article is to show the path to a leading-practice compliant search solution by presenting implementation options that are available, providing tips, and steering you towards the relevant documentation resources for your implementation scenario.
At the end of this phase in your Coveo for Sitecore implementation journey, you will have integrated a complete Coveo-powered search solution into your website. A complete Coveo-powered search solution consists in:
-
A main search page
This is a full-fledged search page containing a result list and several other components (for example, facets, tabs). You have three main page creation options to choose from:
-
Starting from scratch with Hive/SXA single-purpose renderings
Many powerful Coveo features (for example, analytics reporting and machine learning driven features) rely on search hub values. Meaningful search hub values are also essential in identifying the origin of all calls to the Coveo Search API, as this can avoid you accidental extra costs.
Regardless of the way you build your search interfaces (or the other methods you may use to call the Search API), ensure you set search hub values properly from the beginning.
-
A global search box
The global search box can be added to your content article headers. Queries performed in the global search box are redirected to the main search page. Whether you’re using Hive or Hive SXA renderings, the Insert and configure a global search box article contains complete instructions for integrating a global search box into your website.
Creating the main search page
The Coveo Hive framework gives you the ability to build your main search page using one of the methods below.
Using the Example Hosted Search Page branch template
The following table summarizes the main characteristics of the Example Hosted Search Page branch template.
Search page editing |
The actual search page (that is, the legacy hosted search page) is created and edited in the Coveo Administration Console using the Interface Editor. |
---|---|
Implementation summary |
The Example Hosted Search Page branch template generates:
The Coveo Hosted Search Page rendering dynamically fetches the code of the selected legacy Coveo organization hosted search page when the Sitecore page is loaded. |
Main pros and cons |
|
Step-by-step instructions |
Using the Example Search Page branch template
The following table summarizes the main characteristics of the Example Search Page branch template.
Search page editing |
Search page creation and editing is done in the Sitecore Experience Editor. |
---|---|
Implementation summary |
The Example Search Page branch template generates:
|
Main pros and cons |
|
Step-by-step instructions |
Starting from scratch with Hive/SXA single-purpose renderings
Search page editing |
Done in the Sitecore Experience Editor. |
---|---|
Implementation summary |
The search page is created from scratch using a Sitecore item/page. |
Main pros and cons |
|
Step-by-step instructions |
Hive
Hive SXA
|