Besides selecting nodes to override in search, it is now possible to select a single search index as source for overrides, as described in issue #3059864 → . I have a case where I need to select multiple indexes containing different entity types so they all become available in the search overrides.
Go to search_override settings at /admin/config/search/search_override/settings and select for "Content to select from" the option "Select from a search index". Only one index can be selected and used in the autocomplete fields when adding an override.
Allow the selection of indexes for multiple options. Pass them through the autocomplete callback as imploded values. In the callback combine all the search query results coming from the multiple indexes.
The admin UI should allow for multiselect search indexes.
None
The config setting "search_index" contains multiple values instead of 1.
PS: Also keep an extra eye on Allow multiple target entity types in the 'entity_autocomplete' Form API element 📌 Allow multiple target entity types in the 'entity_autocomplete' Form API element Needs work , this could later be used in this module.
Needs review
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.