[pylucene-dev] Re: Multiple instances of PyLucene app
Andi Vajda
vajda at osafoundation.org
Tue Jan 8 09:39:26 PST 2008
On Tue, 8 Jan 2008, Felix Schwarz wrote:
> What if I use multiple Python threads? Will I get into trouble if I attach
> multiple (CherryPy) threads (AFAIK they all live in the same process) to
> the JVM in order to work with PyLucene/JCC in parallel? Do I have to
> implement
> some kind of locking scheme to prevent threading issues? (only related to
> PyLucene, I think did work out the Lucene threading issues)
I don't think it should be a problem. With jcc-PyLucene you should be able
to use threads just as in Java Lucene. As with the earlier question, the
response you'd get to your question on java-user at lucene.apache.org would
apply to jcc-Lucene too.
Andi..
More information about the pylucene-dev
mailing list