You haven't given us much information to go on. _how_ does it fail? What do the logs show? Any error returned? What is the response from the server? Is zookeeper showing any problems?
Best Erick On Mon, Aug 5, 2013 at 7:01 AM, Srivatsan <ranjith.venkate...@gmail.com>wrote: > Hi, > > I am using solr -4.3.0 for my search application. I will create collection > via CollectionAPI. I tried to pass "loadOnStartup" value also. But that > approach didnt work. > > My question is, How to set loadOnStartup to false for cores getting created > by CollectionsAPI? > > I am creating cores by the following snippet of code > > /UpdateRequest req = new UpdateRequest("/admin/collections");//No I18N > req.setParam("action","create"); > req.setParam("name","collection1"); > req.setParam("numShards","1"); > req.setParam("replicationFactor","3"); > req.setParam("loadOnStartup","false"); > server.request(req);/ > > Thanks > > Srivatsan > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Collection-loadOnStartup-tp4082531.html > Sent from the Solr - User mailing list archive at Nabble.com. >