lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karel Vervaeke <ka...@ngdata.com>
Subject Collections API question
Date Fri, 17 Aug 2012 15:04:35 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message