Index Name Required

indexNameRequired

The indexNameRequired default value is false. If true this option require the user to specify index name in order to execute the request.

const config = { ... indexNameRequired: true, ... }; var widget = HawksearchVue.createWidget(component, { config: config }); HawksearchVue.initialSearch(widget);