You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by technology inspired <te...@gmail.com> on 2010/10/06 21:36:22 UTC

PyLucene with Zope

Hi,

I have worked on PyLucene with Django with WSGI setting. But I haven't done
it with Zope. How to and where to set initVM()? In wsgi mode, I set it in
the wsgi setting file for the project where Django Environment variable is
set to access settings.py file. This wsgi setting file is then mentioned in
Apache2.

If there exist any pointers to setup PyLucene with Zope application, it will
be very helpful.

Regards,
Vin

Re: PyLucene with Zope

Posted by Kapil Thangavelu <ka...@gmail.com>.
zope is a little more difficult as its executing user code in a thread pool
fronted by the async code. i haven't done it in a while, but i ended up
patching the zserver to initialize individual threads. you can do it from a
product code.

On Wed, Oct 6, 2010 at 3:36 PM, technology inspired <
technologyinspired@gmail.com> wrote:

> Hi,
>
> I have worked on PyLucene with Django with WSGI setting. But I haven't done
> it with Zope. How to and where to set initVM()? In wsgi mode, I set it in
> the wsgi setting file for the project where Django Environment variable is
> set to access settings.py file. This wsgi setting file is then mentioned in
> Apache2.
>
> If there exist any pointers to setup PyLucene with Zope application, it
> will
> be very helpful.
>
> Regards,
> Vin
>