Hi Dave,
I tried to create core programmatically as below. But getting following error. CoreAdminResponse statusResponse = CoreAdminRequest.getStatus(indexName, solr); coreExists = statusResponse.getCoreStatus(indexName).size() > 0; System.out.println("got the coreexists-->"+coreExists); if(!coreExists) { // Create the core CoreAdminRequest.Create create = new CoreAdminRequest.Create(); create.setCoreName(indexName+i); create.setInstanceDir("C://apache-solr-1.4.1/example/multicore/"+indexName+i); System.out.println("inside the multicore process"); create.setDataDir(indexName+i); create.process(solr); System.out.println("created the multicore"); } error below: Caused by: java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in c lasspath or 'C:\apache-solr-1.4.1\example\multicore\testcore0\conf/', cwd=C:\apach e-solr-1.4.1\example at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoad er.java:262) at org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader .java:230) at org.apache.solr.core.Config.<init>(Config.java:101) at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:130) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:405) at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(Cor eAdminHandler.java:245) ... 21 more May 9, 2012 2:15:10 PM org.apache.solr.core.SolrResourceLoader <init> Please help me. -- View this message in context: http://lucene.472066.n3.nabble.com/Configuration-steps-to-create-dynamic-core-tp3973395p3973549.html Sent from the Solr - User mailing list archive at Nabble.com.