You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by ot...@apache.org on 2003/09/02 15:58:01 UTC

cvs commit: jakarta-lucene/docs fileformats.html

otis        2003/09/02 06:58:01

  Modified:    xdocs    fileformats.xml
               docs     fileformats.html
  Log:
  - Corrected(?) the documentation about normalization factors.
  
  Revision  Changes    Path
  1.4       +3 -2      jakarta-lucene/xdocs/fileformats.xml
  
  Index: fileformats.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/xdocs/fileformats.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- fileformats.xml	6 Mar 2003 19:14:17 -0000	1.3
  +++ fileformats.xml	2 Sep 2003 13:58:01 -0000	1.4
  @@ -1071,12 +1071,13 @@
                   </p>
               </subsection>
               <subsection name="Normalization Factors">
  -                <p>The .nrm file contains,
  +                <p>There's a norm file for each indexed field with a byte for
  +                   each document.  The .n[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
  -                    (.nrm)    --&gt; &lt;Byte&gt;<sup>SegSize</sup>
  +                    (.n[0-9]*)    --&gt; &lt;Byte&gt;<sup>SegSize</sup>
                   </p>
                   <p>Each
                       byte encodes a floating point value.  Bits 0-2 contain the 3-bit
  
  
  
  1.11      +3 -2      jakarta-lucene/docs/fileformats.html
  
  Index: fileformats.html
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/docs/fileformats.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- fileformats.html	16 Apr 2003 04:57:34 -0000	1.10
  +++ fileformats.html	2 Sep 2003 13:58:01 -0000	1.11
  @@ -1502,12 +1502,13 @@
         </td></tr>
         <tr><td>
           <blockquote>
  -                                    <p>The .nrm file contains,
  +                                    <p>There's a norm file for each indexed field with a byte for
  +                   each document.  The .n[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
  -                    (.nrm)    --&gt; &lt;Byte&gt;<sup>SegSize</sup>
  +                    (.n[0-9]*)    --&gt; &lt;Byte&gt;<sup>SegSize</sup>
                   </p>
                                                   <p>Each
                       byte encodes a floating point value.  Bits 0-2 contain the 3-bit