Re: Creating collections from java code

2014-01-15 Thread Flavio Pompermaier
Sorry, I found the error myself..I need to specify configName as paramete rof setCollectionConfigName(): createRequest.setCollectionConfigName(configName); Best, Flavio On Wed, Jan 15, 2014 at 4:26 PM, Flavio Pompermaier wrote: > Hi to everybody, > > I'm trying to create a collection prog

Creating collections from java code

2014-01-15 Thread Flavio Pompermaier
Hi to everybody, I'm trying to create a collection programmatically instead of doing via http. Is that possible? I found around to use something like CoreAdminRequest.Create createRequest = new CoreAdminRequest.Create(); createRequest.setCoreName(coreName); createRequest.setCollectionConfigName