Re: DIH full-import - when is commit() actally triggered?

2011-07-19 Thread Frank Wesemann

Ahmet Arslan schrieb:

I am running a full import with a quite plain data-config
(a root entity with three sub entities ) from a jdbc
datasource.
This import is expected to add approximately 10 mio
documents
What I now see from my logfiles is, that a newSearcher
event is fired about every five seconds.



This is triggered by autoCommit in every 300,000 milli seconds.
You need to remove maxTime30/maxTime to disable this mechanism.


  

Thanks Ahmet,
indeed I had to remove the maxDocs Entry. So now a commit happens only 
every five minutes.


--
mit freundlichem Gruß,

Frank Wesemann
Fotofinder GmbH USt-IdNr. DE812854514
Software EntwicklungWeb: http://www.fotofinder.com/
Potsdamer Str. 96   Tel: +49 30 25 79 28 90
10785 BerlinFax: +49 30 25 79 28 999

Sitz: Berlin
Amtsgericht Berlin Charlottenburg (HRB 73099)
Geschäftsführer: Ali Paczensky





Re: DIH full-import - when is commit() actally triggered?

2011-07-15 Thread Ahmet Arslan

 I am running a full import with a quite plain data-config
 (a root entity with three sub entities ) from a jdbc
 datasource.
 This import is expected to add approximately 10 mio
 documents
 What I now see from my logfiles is, that a newSearcher
 event is fired about every five seconds.

This is triggered by autoCommit in every 300,000 milli seconds.
You need to remove maxTime30/maxTime to disable this mechanism.