Skip to content

Commit

Permalink
Use full indexname (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
nithinasokan authored Jan 23, 2024
1 parent 9ee90d2 commit a70185d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/adp-search-field/adp-search-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a70185d

Please sign in to comment.