otis 2003/10/13 06:53:08 Modified: xdocs fileformats.xml 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.6 +13 -11 jakarta-lucene/xdocs/fileformats.xml Index: fileformats.xml =================================================================== RCS file: /home/cvs/jakarta-lucene/xdocs/fileformats.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- fileformats.xml 8 Oct 2003 17:09:24 -0000 1.5 +++ fileformats.xml 13 Oct 2003 13:53:08 -0000 1.6 @@ -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 --> 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 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]