- 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.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150092 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2003-10-13 13:53:53 +00:00
parent ff43a5a498
commit 5db329f7dc
2 changed files with 26 additions and 22 deletions

View File

@ -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, or
removing files from that index. This lock file prevents several
processes 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, but
which could not be deleted. This is only generated on Win32, where a
file may not be deleted while it is still open.
</p>
<p>
Deleteable --&gt; DelableCount,
&lt;DelableName&gt;<sup>DelableCount</sup>
Deletable --&gt; DeletableCount,
&lt;DelableName&gt;<sup>DeletableCount</sup>
</p>
<p>DelableCount --&gt; UInt32
<p>DeletableCount --&gt; UInt32
</p>
<p>DelableName --&gt;
<p>DeletableName --&gt;
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 multiplied
into the score for hits on that field:
</p>
<p>Norms
(.n[0-9]*) --&gt; &lt;Byte&gt;<sup>SegSize</sup>
(.f[0-9]*) --&gt; &lt;Byte&gt;<sup>SegSize</sup>
</p>
<p>Each
byte encodes a floating point value. Bits 0-2 contain the 3-bit

View File

@ -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, or
removing files from that index. This lock file prevents several
processes 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, but
which could not be deleted. This is only generated on Win32, where a
file may not be deleted while it is still open.
</p>
<p>
Deleteable --&gt; DelableCount,
&lt;DelableName&gt;<sup>DelableCount</sup>
Deletable --&gt; DeletableCount,
&lt;DelableName&gt;<sup>DeletableCount</sup>
</p>
<p>DelableCount --&gt; UInt32
<p>DeletableCount --&gt; UInt32
</p>
<p>DelableName --&gt;
<p>DeletableName --&gt;
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 multiplied
into the score for hits on that field:
</p>
<p>Norms
(.n[0-9]*) --&gt; &lt;Byte&gt;<sup>SegSize</sup>
(.f[0-9]*) --&gt; &lt;Byte&gt;<sup>SegSize</sup>
</p>
<p>Each
byte encodes a floating point value. Bits 0-2 contain the 3-bit