Hi. I'm trying out SolrCloud 4.0.0-BETA. Creating a collection via the collections api never creates more cores than there are nodes. I can see some logic in it, but it would be less surprising if it would just create #shards * (#replicas +1) cores.
As for the implementation: I would just loop around at the end when you reach the last node. When numShards is a multiple of the number of nodes make sure the replicas and leaders are not on the same host (just skip a node so you have a +1 offset). Regards, Karel --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
