LUCENE-771: fixing the description of the naming of the write lock in the file format doc

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@512329 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2007-02-27 17:26:58 +00:00
parent 1486b19a4f
commit 330aa3063e
1 changed files with 11 additions and 7 deletions

View File

@ -900,13 +900,17 @@
</p> </p>
<p> <p>
The write lock is named "XXXX-write.lock" where The write lock, which is stored in the index
XXXX is typically a unique prefix computed by the directory by default, is named "write.lock". If
directory path to the index. When this file is the lock directory is different from the index
present, a process is currently adding documents directory then the write lock will be named
to an index, or removing files from that index. "XXXX-write.lock" where XXXX is a unique prefix
This lock file prevents several processes from derived from the full path to the index directory.
attempting to modify an index at the same time. When this file is present, a process is currently
adding documents to an index, or removing files
from that index. This lock file prevents several
processes from attempting to modify an index at
the same time.
</p> </p>
<p> <p>