Search code examples
javasolrsolrcloud

Solr join for multiple collection with each collection have multiple shards


I have two collections:

  • CollectionOne with two shards (shard1, shard2) have id, name, and Address fields

  • CollectionTwo with shards (shard1,shard2) have c_id, code, and State fields.

I want the result from two collection on id=c_id base using join.

Please provide me full help! I am using Solr version 6.1.0.


Solution

  • https://wiki.apache.org/solr/DistributedSearch - Distributed Search doesn't support join. So SolrCloud can do join only when index is not splited to shards.