Apache Lucene open-source search software
- Fixed: there is no index.lock, but there is write.lock. - Fixed spellings - Fixed mentions of .f[0-9]* files - there are no .n[0-9]* files.
Otis Gospodnetic5db329f7dce3
diff --git a/docs/fileformats.html b/docs/fileformats.htmlindex 67f2d85e195..e89f54179ae 100644--- a/docs/fileformats.html+++ b/docs/fileformats.html@@ -1104,7 +1104,10 @@<blockquote><p>Several files are used to indicate that another- process is using an index.+ process is using an index. Note that these files are not+ stored in the index directory itself, but rather in the+ system's temporary directory, as indicated in the Java+ system property "java.io.tmpdir".</p><ul><li>@@ -1123,8 +1126,7 @@<li><p>- When a file- named "index.lock"+ When a file named "write.lock"is present, a process is currently adding documents to an index, orremoving files from that index. This lock file prevents severalprocesses from attempting to modify an index at the same time.@@ -1138,24 +1140,24 @@<table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica,sanserif">- <a name="Deleteable File"><strong>Deleteable File</strong></a>+ <a name="Deletable File"><strong>Deletable File</strong></a></font></td></tr><tr><td><blockquote><p>- A file named "deletetable"+ A file named "deletable"contains the names of files that are no longer used by the index, butwhich could not be deleted. This is only generated on Win32, where afile may not be deleted while it is still open.</p><p>- Deleteable --> DelableCount,- <DelableName><sup>DelableCount</sup>+ Deletable --> DeletableCount,+ <DelableName><sup>DeletableCount</sup></p>- <p>DelableCount --> UInt32+ <p>DeletableCount --> UInt32</p>- <p>DelableName -->+ <p>DeletableName -->String</p></blockquote>@@ -1508,12 +1510,12 @@<tr><td><blockquote><p>There's a norm file for each indexed field with a byte for- each document. The .n[0-9]* file contains,+ each document. The .f[0-9]* file contains,for each document, a byte that encodes a value that is multipliedinto the score for hits on that field:</p><p>Norms- (.n[0-9]*) --> <Byte><sup>SegSize</sup>+ (.f[0-9]*) --> <Byte><sup>SegSize</sup></p><p>Eachbyte encodes a floating point value. Bits 0-2 contain the 3-bitdiff --git a/xdocs/fileformats.xml b/xdocs/fileformats.xmlindex 579ad4bfcac..57bbaddba91 100644--- a/xdocs/fileformats.xml+++ b/xdocs/fileformats.xml@@ -718,7 +718,10 @@<p>Several files are used to indicate that another- process is using an index.+ process is using an index. Note that these files are not+ stored in the index directory itself, but rather in the+ system's temporary directory, as indicated in the Java+ system property "java.io.tmpdir".</p><ul>@@ -738,8 +741,7 @@<li><p>- When a file- named "index.lock"+ When a file named "write.lock"is present, a process is currently adding documents to an index, orremoving files from that index. This lock file prevents severalprocesses from attempting to modify an index at the same time.@@ -748,23 +750,23 @@</ul></subsection>- <subsection name="Deleteable File">+ <subsection name="Deletable File"><p>- A file named "deletetable"+ A file named "deletable"contains the names of files that are no longer used by the index, butwhich could not be deleted. This is only generated on Win32, where afile may not be deleted while it is still open.</p><p>- Deleteable --> DelableCount,- <DelableName><sup>DelableCount</sup>+ Deletable --> DeletableCount,+ <DelableName><sup>DeletableCount</sup></p>- <p>DelableCount --> UInt32+ <p>DeletableCount --> UInt32</p>- <p>DelableName -->+ <p>DeletableName -->String</p></subsection>@@ -1072,12 +1074,12 @@</subsection><subsection name="Normalization Factors"><p>There's a norm file for each indexed field with a byte for- each document. The .n[0-9]* file contains,+ each document. The .f[0-9]* file contains,for each document, a byte that encodes a value that is multipliedinto the score for hits on that field:</p><p>Norms- (.n[0-9]*) --> <Byte><sup>SegSize</sup>+ (.f[0-9]*) --> <Byte><sup>SegSize</sup></p><p>Eachbyte encodes a floating point value. Bits 0-2 contain the 3-bit