Hi I tried to create cores dynamically using the below code,
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://solr/"); System.out.println("inside the multicore process"); create.setDataDir("C://solr/data"); //create.setConfigName("solrconfig"); //create.setSchemaName("schema"); create.process(solr); System.out.println("created the multicore"); } It makes an entry in the solr.xml file , but the core folder is not created. Please help me to solve this issue. -- View this message in context: http://lucene.472066.n3.nabble.com/Configuration-steps-to-create-dynamic-core-tp3973395p3973604.html Sent from the Solr - User mailing list archive at Nabble.com.