Try to set the batchsize as -1.
 
 
2010-09-08

傅顺开

苏州广达友讯技术有限公司

江苏苏州工业园区金鸡湖大道1355

国际科技园151A215021

电话:(5126288-8255(转612)

传真:(5126288-8155

手机:(0158-5018-8480

Emailfusk@peptalk.cn

http://www.bedo.cn, http://k.ai, http://www.lbs.org.cn

 

发件人: 郭芸
发送时间: 2010-09-07  09:55:05
收件人: Solr Lucene
抄送:
主题: About Solr DataImportHandler
Dear all:
I use Solr DataImportHandler's JdbcDataSource to import the Sqlsever 2005's datas to Solr,but My table is versy big,about 300G.and i found that Solr import the datas to memory first,then write them to index dir.So if the datas are too big,there will trigger an OutOfMemoryException.
I want to solve this problem,and how can ti do it?anybody can help me?Thank you.
 
2010-09-07

郭芸