Yes, that is what I mean. In my case, for each "/dataimport" in the "defaults" section, I also put something like this:
<str name="currentPartition">1</str> ...and then reference it in the data-config.xml with ${dataimporter.request.currentPartition} . This way the same data-config.xml can be used for each handler. As I said before, while this works (and this is what I do in production), it seems generally preferable to write code for this use-case. James Dyer Ingram Content Group -----Original Message----- From: meena.sri...@mathworks.com [mailto:meena.sri...@mathworks.com] Sent: Tuesday, February 03, 2015 4:24 PM To: solr-user@lucene.apache.org Subject: RE: Solr 4.9 Calling DIH concurrently Thanks James. After lots of search and reading now I think I understand a little from your answer. If I understand correctly my solrconfig.xml will have section like this <requestHandler name="/dataimport1" class="solr.DataImportHandler"> <lst name="defaults"> <str name="config">db-data-config1.xml</str> </lst> </requestHandler> <requestHandler name="/dataimport2" class="solr.DataImportHandler"> <lst name="defaults"> <str name="config">db-data-config1.xml</str> </lst> </requestHandler> . . . . . <requestHandler name="/dataimport8" class="solr.DataImportHandler"> <lst name="defaults"> <str name="config">db-data-config1.xml</str> </lst> </requestHandler> Is this correct. If its true then I can call 8 such requests <maxIndexingThreads>8</maxIndexingThreads> and solr will commit data when the <ramBufferSizeMB>100</ramBufferSizeMB> of 100MB is reached per thread. Thanks again for your time. Thanks Meena -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-9-Calling-DIH-concurrently-tp4183744p4183750.html Sent from the Solr - User mailing list archive at Nabble.com.