Hi all,

I am trying to realize a solr cloud cluster with 2 collections and 4 shards
each with 2 replicates hosted by 4 solr instances. If shardNum parm is set
to 4 and all solr instances are started after each other it seems to work
fine.

What I wanted to do now is removing shardNum from JAVA_OPTS and defining
each core with a "shardId". Here is my current solr.xml of the first and
second (in the second there is another instanceDir, the rest is the same)
solr instance:



Here is solr.xml of the third and fourth solr instance: 



But it seems that solr doesn't accept the shardId or omits it. What I really
get is 2 collections each with 2 shards and 8 replicates (each solr instance
2)
Either the functionality is not really clear to me or there has to be a
config failure.

It would very helpful if anyone could give me a hint.

Thanks.
starbuck





--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-use-shardId-tp4033186.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to