List Info

Thread: Lucene 1.9.1 and mod_python issue




Lucene 1.9.1 and mod_python issue
user name
2006-06-14 22:17:35
On Jun 14, 2006, at 3:11 PM, Andi Vajda wrote:
> Any python thread running in this process accessing
PyLucene needs  
> to be known to libgcj's garbage collector. In other
words, any  
> python thread using PyLucene code (which calls into
libgcj) needs  
> to be an instance of PyLucene.PythonThread which does
the right  
> thing in setting it up via libgcj.

But that doesn't really explain why this runs fine if I
dont use my  
own custom analyzer -- if I use StandardAnalyzer, everything
works  
just fine. Does StandardAnalyzer and carrying out a lucene
search not  
allocate any java memory?

> This question has been asked many times before on this
list already  
> but I don't remember seeing any more practical answer
on how this  
> is actually done.

Do you have any tips on where I should look to find more
info?

Thanks!

--

--ruaok      Somewhere in Texas a village is *still* missing
its idiot.

Robert Kaye     --     robeorbit.net     --    http://mayhem-chaos.net


_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
Lucene 1.9.1 and mod_python issue
user name
2006-06-14 22:26:13

On Wed, 14 Jun 2006, Robert Kaye wrote:

> Do you have any tips on where I should look to find
more info?

I'd check with google about how to setup custom thread
pools under mod_python, 
assuming such a thing is even possible.

Andi..
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
Lucene 1.9.1 and mod_python issue
user name
2006-06-15 12:23:29
Andi Vajda wrote:
> On Wed, 14 Jun 2006, Robert Kaye wrote:
>> Do you have any tips on where I should look to find
more info?
> I'd check with google about how to setup custom thread
pools under
> mod_python, assuming such a thing is even possible.
As far as I am aware this is not currently possible. The
threads are
actually spawned in this case by Apache.

The current solutions on the list that have been discussed
so far all
involve spawning an external process which responds to
requests from
different mod_python threads.

However modpython development has recently picked up and I
think this
would be a great discussion for the mod_python list -
perhaps a better
solution can be worked out there

Robert if you start such a thread on that list I'll try
participate and
see if we can get a solution

Regards
David
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )