SearchSuggestionOptions
|
Type |
Interface |
|
Import path |
|
The suggestion parameter of the search widget item. Used to configure search suggestions.
Signature
Properties
|
Name |
Type |
Description |
Value |
|---|---|---|---|
|
|
|
Optional. A list of search suggestions to exclude from the response for this suggestion. Minimum length: 1. |
|
|
|
|
Optional. Whether you want Sitecore Search to use the first suggestion returned by this suggestion block as an alternate search keyphrase if the original keyphrase provided by the site visitor gives zero results. Useful when a site visitor enters a keyphrase and clicks the search button instead of a suggestion. In this scenario, instead of showing the site visitor an empty search page, you can show search results for the alternate keyphrase. If you request more than one To see the alternative keyphrase, in |
|
|
|
|
Optional. The maximum number of search suggestions to retrieve. Minimum: Maximum: Default: |
|
|
|
|
Required. The name of the suggestion block. Set to one of the suggestion block names. To find suggestion block names in Sitecore Search, click Administration > Domain Settings > Feature Configuration > Suggestion Blocks. The name is in Suggestion name. |
|