I would use the below method to create new core on the fly...

CoreAdminResponse e = CoreAdminRequest.createCore("name", "instanceDir",
server);

http://lucene.apache.org/solr/4_3_0/solr-solrj/org/apache/solr/client/solrj/response/CoreAdminResponse.html




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Creating-a-new-core-programmicatically-in-solr-tp4068132p4068134.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to