Hi,

I have one custom Solr plugin that uses following logic to access some
other core present on the same Solr instance.

request.getCore().getCoreContainer().getCore(otherCoreName) where request
is an object of type SolrQueryRequest

This works fine in master-slave mode.

Now if try to use the same logic in SolrCloud mode, it does not work
because what was the core name above is a collection name now and core
name is something like otherCoreName_shard1_replica_n1. There is also a
possibility that the the core might be sharded in SolrCloud mode and it
partially exists on two or more separate Solr instances.

How would I change above logic for accessing other Solr core so that it
works in SolrCloud mode?

Reply via email to