Issues while connecting PyLucene code to Apache WSGI interface

2010-08-28 Thread technology inspired
Hi, I am using PyLucene 3.0.2 on Ubuntu 10.04 with Python 2.6.5 and Sun Java 1.6. I am written an example script to build index and store in a directory. Later on, I want it to search in my next example script which as of now I haven't written. There are two issues I have to mention and looking f

Re: Issues while connecting PyLucene code to Apache WSGI interface

2010-08-30 Thread technology inspired
Please guide how to connect Lucene code with Apache2/wsgi. My apache2/wsgi is configured properly as I can run non lucene coded web pages. Apache2 is using mpm-worker, a threaded environment. Thanks. Regards, Vin On Sun, Aug 29, 2010 at 12:21 PM, Andi Vajda wrote: > > On Sun, 29 Aug 20

Re: Issues while connecting PyLucene code to Apache WSGI interface

2010-08-30 Thread technology inspired
Hi All, TJ Ninneman's solution has worked. When Python is setup with Mod_WSGI on Apache2, it is a recommeded to create a WSGI file in the application and provide it as the root in the Apache2 mod_wsgi settings. These should be called in the wsgi file at the earliest. import lucene lucene.initVM(c

Stopwords in StandardAnalyzer; Constructor

2010-09-03 Thread technology inspired
Hi, How can one define the list of allowed stopwords in StandardAnalyzer? According to Lucene Java API doc, a set should be defined in Constructor to include the list of allowed Stopwords. I want to avoid skipping few words like "The", "on", "off" from being not indexed while using StandardAnalyze

PyLucene with Zope

2010-10-06 Thread technology inspired
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 mentio