You should create HttpSolrServer that works with a core. One CommonsHttpSolrServer per core. java snippet: final CommonsHttpSolrServer solrServer = new CommonsHttpSolrServer("http://localhost:8080/solr" + "/myCoreName");
The rest remains unchanged. Thanks, Ivan On Thu, 2011-11-10 at 16:25 +0200, dhaivat wrote: > Hello all > > I have gone through the tutorials of Solrj. now i want to create multi core > indexes through solrj but i am not getting clue , so can anybody post some > example code ? > > > Regards > > Dhaivat > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Multi-Core-indexed-using-SolrJ-tp3496830p3496830.html > Sent from the Solr - User mailing list archive at Nabble.com.