diff --git a/blocks/adp-search-field/adp-search-field.js b/blocks/adp-search-field/adp-search-field.js index 074653b1..3c31cdc1 100644 --- a/blocks/adp-search-field/adp-search-field.js +++ b/blocks/adp-search-field/adp-search-field.js @@ -85,7 +85,7 @@ function createSuggestionsPlugin(recentSearchesPlugin) { if (enableSearchSuggestions) { querySuggestionsPlugin = createQuerySuggestionsPlugin({ searchClient: getSearchClient(), - indexName: 'query_suggestions', + indexName: INSTANT_SEARCH_INDEX_NAME + '_query_suggestions', getSearchParams({ state }) { // This creates a shared `hitsPerPage` value once the duplicates // between recent searches and Query Suggestions are removed.