Index Name

indexName

The indexName default value is null. The name of the index against which the search must be performed.

const config = { ... indexName: "sitefinityelastic.20210423.141314.products", ... }; var widget = HawksearchVue.createWidget(component, { config: config }); HawksearchVue.initialSearch(widget);

The indexNamevalue comes from Hawksearch settings and is updated once when the widget is initialized

Usage

The indexName option is used for a lot of operations in Hawksearch: