On Jan 7, 2013, at 12:33 PM, Jay Parashar <jparas...@itscape.com> wrote:

> With my setup (4 servers running at localhost 8983, 8900, 7574 and 7500) when 
> I manually do a 
> http://127.0.0.1:7500/solr/admin/cores?action=CREATE&name=myColl1&instanceDir=default&dataDir=myColl1Data&collection=myColl1&numShards=2
> it creates the collection only at the 7500 server. This is similar to when I 
> use HttpSolrServer (Solr 3.6 behavior).

This only starts one core. If you want to use the CoreAdmin API you would need 
to make four calls, one to each server.

If you want this done for you, you must use the Collections API - see the wiki: 
http://wiki.apache.org/solr/SolrCloud#Managing_collections_via_the_Collections_API

- Mark

Reply via email to