On Fri, 26 Mar 2010, Valery Khamenya wrote:
On Fri, Mar 26, 2010 at 1:34 AM, Andi Vajda <va...@apache.org> wrote:
Why 12 ? Only one is created explicitely. The others you found are probably
java's or lucene's.
as I have written in my previous post, indeed initVM() creates 11
child-threads on my box.
Indeed, it starts only one.
The point of this example is to show how to index something in a background
thread and wait, displaying dots, while the indexing is happening.
This is not an example on how to index in more than one thread.
OK, I see.
It is still interesting to me how to do a conflict-free indexing in
several threads/proecsses.
I guess there should be an elegant solution
Maybe you'd be interested in the parallel indexing under development by some
Lucene core developers. You should ask about it on
java-...@lucene.apache.org, subscribing first by sending mail to
java-dev-subscr...@lucene.apache.org if you're not subscribed already.
Andi..