Result Suggestions
Result Suggestions
The Result Suggestions feature suggests results as you type in the search box. Clicking one of the result suggestions opens the item directly.
Result Suggestions can be inserted along with a Coveo Searchbox in a full-fledged search page as well as in a website header with a Coveo Global Searchbox.
Result Suggestions send a query to the index after each keystroke. Hence, this feature can have a significant impact on your number of queries per month.
Enabling Results Suggestions with the Coveo Searchbox
You only have to perform a few simple steps to have the Coveo Searchbox component suggest search results as you type.
To enable results suggestions in your search interface
- Open your search page in the Sitecore Experience Editor.
- If not already done, add a Coveo Searchbox component to your interface (see Add a Search Box Component).
-
Select the Searchbox Components placeholder. It’s located immediately below the Coveo Searchbox component.
- Click Add here.
-
Select the Coveo Omnibox Result List component and click Select.
- Create or select a data source for your Coveo Omnibox Result List component.
- Save and publish your search page.
Enabling Results Suggestions with the Coveo Global Searchbox
If you have already configured a search page, you might now want to enable results suggestions in page header Coveo Global Searchboxes.
To enable results suggestions in a Coveo Global Searchbox
-
If not already done, in the Sitecore Experience Editor, add a Coveo Global Searchbox component in your page header (see Inserting the Global Search Box inside of an External Component Section).
-
Select the Searchbox Components placeholder. It’s located immediately below the Coveo Searchbox component.
- Click Add here.
-
Select the Coveo Omnibox Result List component and click Select.
- Create or select a data source for your Coveo Omnibox Result List component.
- Save and publish your search page. Your searchbox should now suggest results in the Omnibox as you type.