dnaber 2004/10/14 13:23:03 Modified: xdocs fileformats.xml docs fileformats.html Log: improving documentation about compression, as suggested by Doug Revision Changes Path 1.18 +9 -2 jakarta-lucene/xdocs/fileformats.xml Index: fileformats.xml =================================================================== RCS file: /home/cvs/jakarta-lucene/xdocs/fileformats.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- fileformats.xml 13 Oct 2004 21:01:12 -0000 1.17 +++ fileformats.xml 14 Oct 2004 20:23:03 -0000 1.18 @@ -912,11 +912,18 @@ <ul> <li>low order bit is one for tokenized fields</li> <li>second bit is one for fields containing binary data</li> - <li>third bit is one for fields with compression option enabled</li> + <li>third bit is one for fields with compression option enabled + (if compression is enabled, the algorithm used is ZLIB)</li> </ul> </p> <p>Value --> - String (default) or byte[] when the field value is a binary field + String | BinaryValue (depending on Bits) + </p> + <p>BinaryValue --> + ValueSize, <Byte>^ValueSize + </p> + <p>ValueSize --> + VInt </p> </li> 1.31 +9 -2 jakarta-lucene/docs/fileformats.html Index: fileformats.html =================================================================== RCS file: /home/cvs/jakarta-lucene/docs/fileformats.html,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- fileformats.html 13 Oct 2004 21:01:12 -0000 1.30 +++ fileformats.html 14 Oct 2004 20:23:03 -0000 1.31 @@ -1328,11 +1328,18 @@ <ul> <li>low order bit is one for tokenized fields</li> <li>second bit is one for fields containing binary data</li> - <li>third bit is one for fields with compression option enabled</li> + <li>third bit is one for fields with compression option enabled + (if compression is enabled, the algorithm used is ZLIB)</li> </ul> </p> <p>Value --> - String (default) or byte[] when the field value is a binary field + String | BinaryValue (depending on Bits) + </p> + <p>BinaryValue --> + ValueSize, <Byte>^ValueSize + </p> + <p>ValueSize --> + VInt </p> </li>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]