Simon Willnauer wrote:
The index writer creates the lock in its constructor via the public
FSDirectory makeLock method.

regards simon

On 8/8/06, Leandro Saad <[EMAIL PROTECTED]> wrote:
I'm trying to use them, and I maybe be wrong, but I can't unlock the dir
before I create the Directory right? Do you know if the lock is created when
I create the Directory?

You can create the Directory (FSDirectory.getDirectory(*)), and then call IndexReader's isLocked / unlock. The creation of the directory doesn't create any lock files.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to