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 dn...@apache.org on 2005/06/01 21:47:15 UTC
svn commit: r179407 - in /lucene/java/trunk: docs/fileformats.html
xdocs/fileformats.xml
Author: dnaber
Date: Wed Jun 1 12:47:14 2005
New Revision: 179407
URL: http://svn.apache.org/viewcvs?rev=179407&view=rev
Log:
document the compound file format
Modified:
lucene/java/trunk/docs/fileformats.html
lucene/java/trunk/xdocs/fileformats.xml
Modified: lucene/java/trunk/docs/fileformats.html
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/fileformats.html?rev=179407&r1=179406&r2=179407&view=diff
==============================================================================
--- lucene/java/trunk/docs/fileformats.html (original)
+++ lucene/java/trunk/docs/fileformats.html Wed Jun 1 12:47:14 2005
@@ -1177,6 +1177,26 @@
</td></tr>
<tr><td><br/></td></tr>
</table>
+ <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="#828DA6">
+ <font color="#ffffff" face="arial,helvetica,sanserif">
+ <a name="Compound Files"><strong>Compound Files</strong></a>
+ </font>
+ </td></tr>
+ <tr><td>
+ <blockquote>
+ <p>Starting with Lucene 1.4 the compound file format became default. This
+ is simply a container for all files described in the next section.</p>
+ <p>Compound (.cfs) --> FileCount, <DataOffset, FileName><sup>FileCount</sup>,
+ FileData<sup>FileCount</sup></p>
+ <p>FileCount --> VInt</p>
+ <p>DataOffset --> Long</p>
+ <p>FileName --> String</p>
+ <p>FileData --> raw file data</p>
+ </blockquote>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ </table>
</blockquote>
</p>
</td></tr>
Modified: lucene/java/trunk/xdocs/fileformats.xml
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/xdocs/fileformats.xml?rev=179407&r1=179406&r2=179407&view=diff
==============================================================================
--- lucene/java/trunk/xdocs/fileformats.xml (original)
+++ lucene/java/trunk/xdocs/fileformats.xml Wed Jun 1 12:47:14 2005
@@ -789,6 +789,25 @@
String
</p>
</subsection>
+
+ <subsection name="Compound Files">
+
+ <p>Starting with Lucene 1.4 the compound file format became default. This
+ is simply a container for all files described in the next section.</p>
+
+ <p>Compound (.cfs) --> FileCount, <DataOffset, FileName><sup>FileCount</sup>,
+ FileData<sup>FileCount</sup></p>
+
+ <p>FileCount --> VInt</p>
+
+ <p>DataOffset --> Long</p>
+
+ <p>FileName --> String</p>
+
+ <p>FileData --> raw file data</p>
+
+ </subsection>
+
</section>
<section name="Per-Segment Files">