Re: why DIH works in normal mode,error in debug mode

2012-06-02 Thread Lance Norskog
t; -Original Message- > From: wangjing [mailto:ppm10...@gmail.com] > Sent: Friday, June 01, 2012 10:00 AM > To: solr-user@lucene.apache.org > Subject: Re: why DIH works in normal mode,error in debug mode > > In my datasource config  file: >               > url="

RE: why DIH works in normal mode,error in debug mode

2012-06-01 Thread Dyer, James
James Dyer E-Commerce Systems Ingram Content Group (615) 213-4311 -Original Message- From: wangjing [mailto:ppm10...@gmail.com] Sent: Friday, June 01, 2012 10:00 AM To: solr-user@lucene.apache.org Subject: Re: why DIH works in normal mode,error in debug mode In my datasource config file

Re: why DIH works in normal mode,error in debug mode

2012-06-01 Thread wangjing
In my datasource config file: i have done it,set batchSize="500" On Fri, Jun 1, 2012 at 10:38 PM, Dyer, James wrote: > I see this in your stacktrace:  java.sql.SQLException: Illegal value for > setFetchSize(). > > It must be that your JDBC driver doesn't like the default value (300) that is

RE: why DIH works in normal mode,error in debug mode

2012-06-01 Thread Dyer, James
I see this in your stacktrace: java.sql.SQLException: Illegal value for setFetchSize(). It must be that your JDBC driver doesn't like the default value (300) that is used. In your datasource tag, try adding a "batchSize" attribute of either 0 or -1 (if using -1, DIH automatically changes it t