Re: Create collection on all nodes using the Collection API

2016-08-11 Thread Anshum Gupta
Hi Alexandre, You can you the CLUSTERSTATUS Collections API ( https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api18) to get a list of live nodes. -Anshum On Thu, Aug 11, 2016 at 10:16 AM Alexandre Drouin < alexandre.dro...@orckestra.com> wrote: > Hi, > > What wou

Create collection on all nodes using the Collection API

2016-08-11 Thread Alexandre Drouin
Hi, What would be the best/easiest way to create a collection (only one shard) using the Collection API and have a replica created on all live nodes? Using the 'create collection' API, I can use the 'replicationFactor' parameter and specify the number of replica I want for my collection. So if