I have multiple instances of my application. each application is pointing to its own solr for document indexing.
I am working on a unified search, where user hit a query in the search bar and the relevant documents from all the instance should be ranked based on relevance.
Right now I have implemented a solution based on Round Robin fashion.
For example, I have 2 instances, Ins-1 with solr-1 and Ins-2 with solr-2. Ins-1 has 1K docs and Ins-2 has 5K docs. when I hit any query, the query will fetch X number of docs from solr-1 and X number of docs from solr-2. I am showing those 2X documents in round robin fashion. But it is not a best way to show the search result. I am looking for a solution where I can re-rank those 2X documents based on relevance to the search.
shards
parameter to search both cores at the same time as a unified result set. But if you're using cloud mode, that might be hard to coordinate as the number of nodes grow. – MatsLindh