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(collectionName);
createRequest.setConfigName(configName);
 createRequest.setNumShards(1);
createRequest.process(solrServer);

But:
1) I don't want to specify any core name (like with the http request)
 2) it doesn't work

Best,
Flavio

Reply via email to