Coveo Smart Snippet Suggestions
Implements the Coveo JavaScript Search Framework SmartSnippetSuggestions component which displays additional queries for which a Coveo Smart Snippets model can provide relevant excerpts.
Usage Notes
-
A Coveo ML Smart Snippets model is required.
-
Content-related conditions must be met for smart snippet suggestions to be returned.
-
To get smart snippet suggestions for Sitecore content, you must add an indexing pipeline extension.
Insertion Location
The Coveo Smart Snippet Suggestions rendering is an Allowed Control in the following placeholder(s): UI Results Header
, Results Header
Example insertion sequence for the Coveo Smart Snippet Suggestions rendering.
Coveo for Sitecore SXA rendering insertion locations aren’t limited by placeholder Allowed Controls. The Coveo Smart Snippet Suggestions rendering may therefore be inserted throughout the partial design, whether in Coveo for Sitecore or Sitecore placeholders.
Example insertion sequence for the Coveo Smart Snippet Suggestions rendering.
Data Source Options
Option name | Description |
---|---|
Use IFrame | See useIFrame component option |
Additional data attributes |
Allows use of the Coveo JavaScript Search Framework SmartSnippetSuggestions component options that aren’t directly available in the data source. |
Sample Generated HTML and Corresponding Visual Output
<div class="CoveoSmartSnippetSuggestions"></div>
