Coveo Facet Value Suggestions
Field data source option value).
Selecting a facet value suggestion from the list of query suggestions triggers a query to the Search API with an advanced query expression (aq) which reflects the selected facet value (i.e.,
@<FIELD> == <SELECTED_FACET_VALUE>).
In the March 2019 and April 2019 releases of Coveo for Sitecore, there’s an issue with the ID of the Coveo for Sitecore SXA Coveo Facet Value Suggestions rendering which may cause a Coveo Hive page containing the Coveo Facet Value Suggestions rendering to break (see SXA Coveo Facet Value Suggestions Rendering Item Overwriting Hive Item at Installation). This issue was fixed in the May 17, 2019 release.
To get facet value suggestions added to Coveo Machine Learning (Coveo ML)-powered query completion suggestions, you must first enable query suggestions and ensure your search interface generates query suggestions.
Alternatively, you can have facet value suggestions added to the current content of the search box by enabling the
Use value from search boxoption.
The Coveo Facet Value Suggestions rendering is an Allowed Control in the following placeholder(s):
When you add the Coveo Searchbox SXA rendering, this adds a
coveouisearchboxcomponentssxa placeholder. Insert your Coveo Facet Value Suggestions rendering in this
Data Source Options
|Field||Sitecore field whose values will be used in the facet value suggestions|
|Number of values to display in the suggestions list||See numberOfSuggestions component option|
|Display the estimate number of results||See displayEstimateNumberOfResults component option|
|Use value from search box||See useValueFromSearchbox component option|
|DOM unique Id||Randomly generated HTML element id.|
Sample Generated HTML and Corresponding Visual Output
<div> <div id="coveocaf18e11" class="CoveoFacetValueSuggestions" data-prebind-field="fieldTranslator" data-field="@manufacturer" data-applied-prebind="true"> </div> </div>