Thank you both, those are exactly what I was looking for!
If I'm reading it right, if I specify a "-Dvmhost=foo" when starting
SolrCloud, and then specify a snitch rule like this when creating the
collection:
sysprop.vmhost:*,replica:<2
then this would ensure that on each vmhost there is at mo
See the createNodeset and node parameters for the Collections API CREATE and
ADDREPLICA commands, respectively. That's more a manual process, there's
nothing OOB but Jeff's suggestion is sound.
Best,
Erick
On Mon, Feb 1, 2016 at 11:00 AM, Jeff Wartes wrote:
>
> You could write your own snitch:
You could write your own snitch:
https://cwiki.apache.org/confluence/display/solr/Rule-based+Replica+Placement
Or, it would be more annoying, but you can always add/remove replicas manually
and juggle things yourself after you create the initial collection.
On 2/1/16, 8:42 AM, "Tom Evans"