Auto commit would seem a good idea, as you don't want your independent
worker threads issuing overlapping commits. There's also commtWithin
that achieves the same thing.

Upayavira

On Wed, Mar 13, 2013, at 08:02 AM, Arkadi Colson wrote:
> Hi
> 
> I'm filling our solr database with about 5mil docs. All docs are in some 
> kind of queue which are processed by 5 simultaneous workers. What is the 
> best way to do commits is such a situation? If I say to let every worker 
> do a commit after 100 docs there will be 5 commits in a short period. Or 
> should I use the autocommit option for this?
> 
> Thx!
> 
> Arkadi

Reply via email to