Kentico: Configuring Hawksearch search box widget

In this article you’ll find:

Goal

The purpose of this article is to show you how to work with the Hawksearch search box widget.

Prerequisites

Steps to configure the widget

  1. Once you have set up a page builder supported page, click add widget and click Hawksearch search box.

  2. Hover over the widget and click the settings cogwheel to bring up the widget properties.

  3. Template - You can choose which widget template this widget uses.

  4. Index - You can choose which index this search box widget will use from the dropdown menu. Here you can see the previously created index mapping display names.

  5. Use permission filtering - Whether the widget uses permission filtering. If enabled, the widget will add the current user’s role ids to be checked against the permissions field on the previously indexed documents when sending autocomplete requests.

  6. Search page - Via the page selector, navigate to the page you wish to be redirected to when you search. If left empty, the search box will use the same page to display the search results (if the Hawksearch search results widget is also present on the page).

  7. Track search event - If selected, widget will send search event tracking updates to Hawksearch.

  8. Track autocomplete click event - If selected, widget will send autocomplete click event tracking updates to Hawksearch.