Search multiple SOLR core's and return one result set

solr

Solution

Since Solr 1.3, there's been decent multi-core search capabilities in Solr. Please read the Distributed Search article where it explains how to use the shards parameter to query across multiple cores and return results as one data set.

Problem

We have several core's setup in SOLR and would like to search across these cores and return a single result set. A bit more background: We have a SOLR core that we index our internal blog engine. We also have a SOLR core that we index our CMS system. We would like to search across both of these cores but view a single result set. I am aware of having related entities in a document, but we would like to keep the cores separate, for easy of maintenance, and redundancy. We are using SolrSharp as a wrapper for searching SOLR. Any advice or direction would be appreciated.

Original source