We’re back for Part 2 of this content and search sharing project, so let’s have a quick recap:
In Part 1, we set up migrations to pull in regional content to the national site and configured a Solr core to index them for location searches. Then we altered the Solr queries, so that the default behaviour only shows content from the current site.
The remaining step is to render the search results that come from other sites. The main problem here is that the default Drupal/Solr/Views integration uses Solr to find the content before rendering it through Drupal’s rendering engine. However, the regional sites are unable to render content from the national site... at least not through the usual process.
Read full story