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 indexName
value 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:
indexName
is part of the parameters which go in the headers of each request:search
search within
using facets