On Thu, 25 Mar 2010, Valery Khamenya wrote:
Q1: Why 12 threads in samples/ThreadIndexFiles.py ?
Why 12 ? Only one is created explicitely. The others you found are probably
java's or lucene's.
I have no idea how this example
http://svn.apache.org/repos/asf/lucene/pylucene/trunk/samples/ThreadIndexFiles.py
starts more than 1 thread:
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.
Andi..