If you post your data-config.xml here, someone might be able to find something you could change to speed things up. If the issue is parallelization, then you could possibly partition your data somehow and then run multiple DIH request handlers at the same time. This might be easier than writing your own update program.
If you still think you need to write something custom, see this: http://wiki.apache.org/solr/Solrj#Adding_Data_to_Solr James Dyer Ingram Content Group (615) 213-4311 -----Original Message----- From: xiaoqi [mailto:belivexia...@gmail.com] Sent: Thursday, April 25, 2013 10:01 AM To: solr-user@lucene.apache.org Subject: Using another way instead of DIH hi,all i using DIH to build index is slow , when it fetch 2 million rows , it will spend 20 minutes , very slow. i am not very familar with solr , try to using lucene direct building index file from db then move to solr folder. i am not sure ,that is right way. or any other good way? thanks a lot . -- View this message in context: http://lucene.472066.n3.nabble.com/Using-another-way-instead-of-DIH-tp4058937.html Sent from the Solr - User mailing list archive at Nabble.com.