I have a fix for this which I've run on my own system. Have to run right now... will contribute the code later tonight. - SinistralEnigma
SinistralEnigma wrote: > > I can verify that I have the same problem when trying to use SolrJ's > CoreAdminRequest.createCore() to create a new core. It looks like this is > caused by the request accidentally sending a "core" parameter for the > parameter that is supposed to be "name" > > For example, to create a core named "newCore" SolrJ sends a request like > this: > http://localhost:8983/solr/admin/cores?action=CREATE&core=newCore&instanceDir=newcoredirectory&wt=javabin&version=2.2 > When it should send a request like this: > http://localhost:8983/solr/admin/cores?action=CREATE&name=newCore&instanceDir=newcoredirectory&wt=javabin&version=2.2 > > Also, not to be nit-picky, but it'd be nice to be able to send in the > config and schema parameters to the CoreAdminRequest.createCore() method. > - SinistralEnigma > > > Parisa wrote: >> >> Creating new Core By solrj API (CoreAdminRequest.createCore) fails >> because it doesn't set name parameter >> in getParameters method of CoreAdminRequest class >> >> >> solr version :1.3 >> >> Parisa >> > > -- View this message in context: http://www.nabble.com/Create-new-core-by-solrj-API-fails-tp19740822p20120478.html Sent from the Solr - Dev mailing list archive at Nabble.com.