otis 2003/10/13 06:53:54 Modified: docs fileformats.html Log: - 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. Revision Changes Path 1.14 +13 -11 jakarta-lucene/docs/fileformats.html Index: fileformats.html =================================================================== RCS file: /home/cvs/jakarta-lucene/docs/fileformats.html,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- fileformats.html 9 Oct 2003 14:40:29 -0000 1.13 +++ fileformats.html 13 Oct 2003 13:53:53 -0000 1.14 @@ -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 --> 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 multiplied into 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>Each byte encodes a floating point value. Bits 0-2 contain the 3-bit
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]