lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fu Shunkai 傅顺开" <f...@peptalk.cn>
Subject Re: About Solr DataImportHandler
Date Wed, 08 Sep 2010 04:45:35 GMT
Try to set the batchsize as -1. 


2010-09-08 



傅顺开
苏州广达友讯技术有限公司
江苏苏州工业园区金鸡湖大道1355号
国际科技园151A,215021
电话:(512)6288-8255(转612)
传真:(512)6288-8155
手机:(0)158-5018-8480
Email:fusk@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 



郭芸 
Mime
View raw message