You need to create the core directory on disk, containing a conf directory, yourself, before you use this API.
If you are using SolrCloud, then I believe this isn't needed because the config is in Zookeeper. Upayavira On Tue, Mar 19, 2013, at 06:01 AM, Ravi_Mandala wrote: > Hi, > > I am trying to create new core dynamically(programmatically) in solr > 4.0.I > tried with > > http://localhost:7081/apache-solr-4.0.0/admin/cores?action=CREATE&name=coreX&instanceDir=coreX&config=solr-config.xml&schema=schema.xml&dataDir=data > > But I am not able to create a core. Is there any way to create a new > core(Directories)? > > Please mail me if u have get anything. > > Thanks, > Ravi.M > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Core-Creation-dynamically-tp4048872.html > Sent from the Solr - User mailing list archive at Nabble.com.