Re: which lock belong to which index?

2003-10-02 Thread Otis Gospodnetic
\lucene- 08d0626209019ccc9327ba6fb063c456-write.lock Is there a straightforward way to figure out which lock belong to which index? The lock name seems to be a MD5 digest of the index's directory canonical path (or at least this is what getLockPrefix() looks like). Previously

Re: which lock belong to which index?

2003-10-02 Thread petite_abeille
Hi Otis, On Thursday, Oct 2, 2003, at 13:56 Europe/Amsterdam, Otis Gospodnetic wrote: I cannot remember the answer I got, but I asked the same question after the code was changed to put locks in java.io.tmpdir. Because I have an application that deals with a lot of indices simultaneously, I

Re: which lock belong to which index?

2003-10-02 Thread Erik Hatcher
The CHANGES.txt file says this about the issue: 2. Changed file locking to place lock files in System.getProperty(java.io.tmpdir), where all users are permitted to write files. This way folks can open and correctly lock indexes which are read-only to them. I haven't thought through