Managing keyword suggestions
Manage keyword suggestions so that you can change the scope and types of keyword suggestions that appear in the storefront search field.
There are two implementations for keyword suggestions. The native Solr TermsComponent
implementation, and the search-based keyword suggestion implementation. The main difference between
the implementations is that by default, the Solr TermsComponent suggestions do not consider request
scopes such as store, catalog, or other specific filter queries. In contrast, the search-based
keyword suggestions can use all the filter query types.
Note: Enable search-based keyword suggestions
only if you have a business requirement to do so. There might be noticeable differences in the types
of suggestions and response times compared to the native Solr TermsComponent
implementation.
Before you begin
- Set up the HCL Commerce Search index to apply the relevant templates and schema.