Re: Programmatic create core

2012-05-07 Thread Trym R. Møller
Thanks Mark you are my hero! I had missed the specification of the configuration of the collection and the only way to specify it was as follows: CoreAdminRequest.Create req = new CoreAdminRequest.Create() { @Override public SolrParams getParams() {

Re: Programmatic create core

2012-05-07 Thread Mark Miller
Thanks - I'll fix that retry count issue right now. When you go to the admin UI and look at the zookeeper nodes, what is listed under config? I'll add the config names found to that error message. - Mark On Mon, May 7, 2012 at 2:12 AM, "Trym R. Møller" wrote: > Hi > > On Solr trunk I am trying

Programmatic create core

2012-05-06 Thread Trym R. Møller
Hi On Solr trunk I am trying to create a new core using the following code: CoreAdminRequest.Create req = new CoreAdminRequest.Create(); req.setCoreName(shardName); req.setInstanceDir(instanceDir); req.setDataDir(dataDir); req.setCollection(collectionName);