Yura Smolsky wrote:
> 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..
This would be important, for example, in using PyLucene from within
multi-process, multi-thread Apache...

David
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to