Contention.  There is always a limit somewhere, I/O, CPU, memory, locks, ...

Use your OS tools or java profiling/logging/debugging to find out what
is going on - or just go with what works for you.

If you're doing something like loading data read from a database, it
is my experience that the bottleneck often lies there rather than in
lucene.

--
Ian.


On Wed, Jan 11, 2012 at 1:32 AM, Cheng <zhoucheng2...@gmail.com> wrote:
> Hi,
>
> I use a same instance of writer for multiple threads. It turns out that the
> time to finish jobs is more than to create a new writer instance in each
> thread. What would be the possible reasons?
>
> Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to