You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by mi...@apache.org on 2007/02/27 18:26:59 UTC
svn commit: r512329 -
/lucene/java/trunk/src/site/src/documentation/content/xdocs/fileformats.xml
Author: mikemccand
Date: Tue Feb 27 09:26:58 2007
New Revision: 512329
URL: http://svn.apache.org/viewvc?view=rev&rev=512329
Log:
LUCENE-771: fixing the description of the naming of the write lock in the file format doc
Modified:
lucene/java/trunk/src/site/src/documentation/content/xdocs/fileformats.xml
Modified: lucene/java/trunk/src/site/src/documentation/content/xdocs/fileformats.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/site/src/documentation/content/xdocs/fileformats.xml?view=diff&rev=512329&r1=512328&r2=512329
==============================================================================
--- lucene/java/trunk/src/site/src/documentation/content/xdocs/fileformats.xml (original)
+++ lucene/java/trunk/src/site/src/documentation/content/xdocs/fileformats.xml Tue Feb 27 09:26:58 2007
@@ -900,13 +900,17 @@
</p>
<p>
- The write lock is named "XXXX-write.lock" where
- XXXX is typically a unique prefix computed by the
- directory path to the index. 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.
+ The write lock, which is stored in the index
+ directory by default, is named "write.lock". If
+ the lock directory is different from the index
+ directory then the write lock will be named
+ "XXXX-write.lock" where XXXX is a unique prefix
+ derived from the full path to the index directory.
+ 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>