[pylucene-dev] PythonDirectory to avoid 2GB limit problem

Yura Smolsky info at altervisionmedia.com
Thu Aug 24 23:39:19 PDT 2006


Hello, Julien.

JA> I'm currently using a RLock instead of the PythinFileLock. It works
JA> perfectly well and the performance lose is really small compared with
JA> the FSDirectory I was using (around 2%) I'm currently make long running
JA> processes with bigger stores to see if the behavior remains correct.

JA> In my case, I only have a Python thread pools so I guess the RLock will
JA> work just great for NXLucene.

cool!

JA> There is something I'm wondering about the Java Lucene Lock
JA> implementation though. Why do they actually need to use a file system
JA> lock ? For being able to access the store from different JVMs ?

Yes, so index can be used by many processes..


--
Yura Smolsky,
http://altervisionmedia.com/




More information about the pylucene-dev mailing list