lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shai Erera <>
Subject Re: Multi-thread indexing, should the commit be called from each thread?
Date Wed, 21 May 2014 13:12:20 GMT
You don't need to commit from each thread, you can definitely commit when
all threads are done. In general, you should commit only when you want to
ensure the data is "safe" on disk.


On Wed, May 21, 2014 at 2:58 PM, andi rexha <> wrote:

> Hi!
> I have a question about multi-thread indexing. When I perform a
> Multi-thread indexing, should I commit from each thread that I add
> documents or the commit should be done only when all the threads are done
> with their indexing task?
> Thank you!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message