On Mon, 7 Jan 2008, JLIST wrote:

I haven't used PyLucene seriously in any applications but
I'm thinking about the possibility of using it in a web
application for a lightweight index.

And I'm planning on using FastCGI to talk to multiple instances
of the Python FastCGI servers. So these processes will be
searching the same index data. Would this be a problem?

And what if multiple processes update the same index?

That is a great question for [EMAIL PROTECTED] [1].
With this topic, whatever answer you find there applies here too.

I should point out, as a reminder of a related issue, that jcc-PyLucene [2] does not have the threading problem that's plagued gcj-PyLucene [3] for years when used in-process in a web server such as Apache. With jcc-PyLucene, one can attach a thread to the Java VM anytime after its creation. Look for attachCurrentThread() in [2].

Andi..

[1] http://lucene.apache.org/java/docs/mailinglists.html#Java%20User%20List
[2] http://svn.osafoundation.org/pylucene/trunk/jcc/README
[3] http://svn.osafoundation.org/pylucene/trunk/gcj/README
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to