Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

document the compound file format

Daniel Naber17d02d8f2ffb
diff --git a/docs/fileformats.html b/docs/fileformats.html
index 7cdb4b1b298..a3d50717848 100644
--- a/docs/fileformats.html
+++ b/docs/fileformats.html
@@ -1176,6 +1176,26 @@ limitations under the License.
</blockquote>
</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) --&gt; FileCount, &lt;DataOffset, FileName&gt;<sup>FileCount</sup>,
+ FileData<sup>FileCount</sup></p>
+ <p>FileCount --&gt; VInt</p>
+ <p>DataOffset --&gt; Long</p>
+ <p>FileName --&gt; String</p>
+ <p>FileData --&gt; raw file data</p>
+ </blockquote>
+ </td></tr>
+ <tr><td><br/></td></tr>
</table>
</blockquote>
</p>
diff --git a/xdocs/fileformats.xml b/xdocs/fileformats.xml
index 14692d3e7c0..5c5c9ee6d68 100644
--- a/xdocs/fileformats.xml
+++ b/xdocs/fileformats.xml
@@ -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) --&gt; FileCount, &lt;DataOffset, FileName&gt;<sup>FileCount</sup>,
+ FileData<sup>FileCount</sup></p>
+
+ <p>FileCount --&gt; VInt</p>
+
+ <p>DataOffset --&gt; Long</p>
+
+ <p>FileName --&gt; String</p>
+
+ <p>FileData --&gt; raw file data</p>
+
+ </subsection>
+
</section>
<section name="Per-Segment Files">