Epinova / Epinova.Elasticsearch

A search-plugin for Episerver CMS and Commerce
MIT License
29 stars 20 forks source link

Fix getting suggestions from other than default indexes #115

Closed Henr1k80 closed 2 years ago

Henr1k80 commented 4 years ago

The IndexName from the service is not sent in to GetSuggestions. If it is not set, it will resolve, as before, the default index.

Suggestions are not set in code on non-IContent types, but I have solved that with custom copy_to parameters in the mapping.

Henr1k80 commented 4 years ago

Hi @lonnkvist, do you by any chance have time to look at this small pull request and make a release?