/
Recommendation URL
Recommendation URL
recommendationUrl
This option contains the Hawksearch recommendation API URL to which the requests are send.
Options
default value is string -
'/api/recommendation/v2/getwidgetitems'
when the configuration is using the default value apiUrl is used for basis to create search URL
dev 'https://searchapi-dev.hawksearch.net/api/recommendation/v2/getwidgetitems'
:
const config = {
...
recommendationUrl: 'https://searchapi-dev.hawksearch.net/api/recommendation/v2/getwidgetitems',
...
};
var widget = HawksearchVue.createWidget(component, { config: config});
HawksearchVue.initialSearch(widget);
test 'https://searchapi-test.hawksearch.net/api/recommendation/v2/getwidgetitems'
:
const config = {
...
recommendationUrl: 'https://searchapi-test.hawksearch.net/api/recommendation/v2/getwidgetitems',
...
};
var widget = HawksearchVue.createWidget(component, { config: config});
HawksearchVue.initialSearch(widget);
prod 'https://searchapi.hawksearch.net/api/recommendation/v2/getwidgetitems'
:
const config = {
...
recommendationUrl: 'https://searchapi.hawksearch.net/api/recommendation/v2/getwidgetitems',
...
};
var widget = HawksearchVue.createWidget(component, { config: config});
HawksearchVue.initialSearch(widget);
Usage
Check Hawksearch URLsarchived for more information about Recommendations API URL.
, multiple selections available,
Related content
Search URL
Search URL
More like this
Autocomplete URL
Autocomplete URL
More like this
Suggestion Item
Suggestion Item
More like this
URL Update
URL Update
More like this
Index Name Required
Index Name Required
More like this
Additional Parameters
Additional Parameters
More like this