Grokbase Groups Lucene dev June 2004
FAQ
ehatcher 2004/06/15 17:16:16

Modified: xdocs fileformats.xml
docs fileformats.html
Log:
bring segments file documentation back in sync with code changes

Revision Changes Path
1.13 +17 -5 jakarta-lucene/xdocs/fileformats.xml

Index: fileformats.xml
===================================================================
RCS file: /home/cvs/jakarta-lucene/xdocs/fileformats.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- fileformats.xml 12 Jun 2004 16:54:37 -0000 1.12
+++ fileformats.xml 16 Jun 2004 00:16:16 -0000 1.13
@@ -694,11 +694,15 @@
</p>

<p>
- Segments --&gt; SegCount, &lt;SegName, SegSize&gt;<sup>SegCount</sup>
+ Segments --&gt; Format, Version, SegCount, &lt;SegName, SegSize&gt;<sup>SegCount</sup>
</p>

<p>
- SegCount, SegSize --&gt; UInt32
+ Format, SegCount, SegSize --&gt; UInt32
+ </p>
+
+ <p>
+ Version --&gt; UInt64
</p>

<p>
@@ -706,9 +710,17 @@
</p>

<p>
+ Format is -1 in Lucene 1.4.
+ </p>
+
+ <p>
+ Version counts how often the index has been
+ changed by adding or deleting documents.
+ </p>
+
+ <p>
SegName is the name of the segment, and is used as the file name prefix
- for
- all of the files that compose the segment's index.
+ for all of the files that compose the segment's index.
</p>

<p>
@@ -940,7 +952,7 @@
term's text.
</p>
<p>TIVersion names the version of the format
- of this file and is -1 in Lucene 1.4.
+ of this file and is -2 in Lucene 1.4.
</p>
<p>Term
text prefixes are shared. The PrefixLength is the number of initial



1.26 +14 -5 jakarta-lucene/docs/fileformats.html

Index: fileformats.html
===================================================================
RCS file: /home/cvs/jakarta-lucene/docs/fileformats.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- fileformats.html 12 Jun 2004 16:54:37 -0000 1.25
+++ fileformats.html 16 Jun 2004 00:16:16 -0000 1.26
@@ -1096,18 +1096,27 @@
segment.
</p>
<p>
- Segments --&gt; SegCount, &lt;SegName, SegSize&gt;<sup>SegCount</sup>
+ Segments --&gt; Format, Version, SegCount, &lt;SegName, SegSize&gt;<sup>SegCount</sup>
</p>
<p>
- SegCount, SegSize --&gt; UInt32
+ Format, SegCount, SegSize --&gt; UInt32
+ </p>
+ <p>
+ Version --&gt; UInt64
</p>
<p>
SegName --&gt; String
</p>
<p>
+ Format is -1 in Lucene 1.4.
+ </p>
+ <p>
+ Version counts how often the index has been
+ changed by adding or deleting documents.
+ </p>
+ <p>
SegName is the name of the segment, and is used as the file name prefix
- for
- all of the files that compose the segment's index.
+ for all of the files that compose the segment's index.
</p>
<p>
SegSize is the number of documents contained in the segment index.
@@ -1367,7 +1376,7 @@
term's text.
</p>
<p>TIVersion names the version of the format
- of this file and is -1 in Lucene 1.4.
+ of this file and is -2 in Lucene 1.4.
</p>
<p>Term
text prefixes are shared. The PrefixLength is the number of initial




---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org

Search Discussions

  • Ehatcher at Jun 24, 2004 at 1:02 am
    ehatcher 2004/06/23 18:02:27

    Modified: xdocs fileformats.xml
    docs fileformats.html
    Log:
    minor correction - FieldCount not Count

    Revision Changes Path
    1.14 +1 -1 jakarta-lucene/xdocs/fileformats.xml

    Index: fileformats.xml
    ===================================================================
    RCS file: /home/cvs/jakarta-lucene/xdocs/fileformats.xml,v
    retrieving revision 1.13
    retrieving revision 1.14
    diff -u -r1.13 -r1.14
    --- fileformats.xml 16 Jun 2004 00:16:16 -0000 1.13
    +++ fileformats.xml 24 Jun 2004 01:02:27 -0000 1.14
    @@ -884,7 +884,7 @@
    <p>DocFieldData --&gt;
    FieldCount, &lt;FieldNum, Bits, Value&gt;<sup>FieldCount</sup>
    </p>
    - <p>Count --&gt;
    + <p>FieldCount --&gt;
    VInt
    </p>
    <p>FieldNum --&gt;



    1.27 +1 -1 jakarta-lucene/docs/fileformats.html

    Index: fileformats.html
    ===================================================================
    RCS file: /home/cvs/jakarta-lucene/docs/fileformats.html,v
    retrieving revision 1.26
    retrieving revision 1.27
    diff -u -r1.26 -r1.27
    --- fileformats.html 16 Jun 2004 00:16:16 -0000 1.26
    +++ fileformats.html 24 Jun 2004 01:02:27 -0000 1.27
    @@ -1300,7 +1300,7 @@
    <p>DocFieldData --&gt;
    FieldCount, &lt;FieldNum, Bits, Value&gt;<sup>FieldCount</sup>
    </p>
    - <p>Count --&gt;
    + <p>FieldCount --&gt;
    VInt
    </p>
    <p>FieldNum --&gt;




    ---------------------------------------------------------------------
    To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
    For additional commands, e-mail: lucene-dev-help@jakarta.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieslucene
postedJun 16, '04 at 12:16a
activeJun 24, '04 at 1:02a
posts2
users1
websitelucene.apache.org

1 user in discussion

Ehatcher: 2 posts

People

Translate

site design / logo © 2022 Grokbase