Apache Solr open-source search software
update to the file format by Bernhard Messer; adding a link to non-Java versions of Lucene
Daniel Naberd596b8a32b6b
diff --git a/docs/fileformats.html b/docs/fileformats.htmlindex 81ed0da886f..051147f4fdc 100644--- a/docs/fileformats.html+++ b/docs/fileformats.html@@ -142,8 +142,10 @@ limitations under the License.</p><p>Jakarta Lucene is written in Java, but several- efforts are underway to write versions of Lucene in other programming- languages. If these versions are to remain compatible with Jakarta+ efforts are underway to write+ <a href="http://wiki.apache.org/jakarta-lucene/LuceneImplementations">versions+ of Lucene in other programming+ languages</a>. If these versions are to remain compatible with JakartaLucene, then a language-independent definition of the Lucene indexformat is required. This document thus attempts to provide acomplete and independent definition of the Jakarta Lucene 1.4 file@@ -1307,16 +1309,32 @@ limitations under the License.<p>FieldNum -->VInt</p>++ <p><b>Lucene <= 1.4:</b></p><p>Bits -->Byte</p><p>Value -->String</p>- <p>Currently- only the low-order bit is used of Bits is used. It is one for+ <p>Only the low-order bit of Bits is used. It is one fortokenized fields, and zero for non-tokenized fields.</p>+ <p><b>Lucene >= 1.9:</b></p>+ <p>Bits -->+ Byte+ </p>+ <p>+ <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>+ </ul>+ </p>+ <p>Value -->+ String (default) or byte[] when the field value is a binary field+ </p>+</li></ol></blockquote>diff --git a/xdocs/fileformats.xml b/xdocs/fileformats.xmlindex 5cb68a9866d..84deabaa45b 100644--- a/xdocs/fileformats.xml+++ b/xdocs/fileformats.xml@@ -19,8 +19,10 @@<p>Jakarta Lucene is written in Java, but several- efforts are underway to write versions of Lucene in other programming- languages. If these versions are to remain compatible with Jakarta+ efforts are underway to write+ <a href="http://wiki.apache.org/jakarta-lucene/LuceneImplementations">versions+ of Lucene in other programming+ languages</a>. If these versions are to remain compatible with JakartaLucene, then a language-independent definition of the Lucene indexformat is required. This document thus attempts to provide acomplete and independent definition of the Jakarta Lucene 1.4 file@@ -891,16 +893,32 @@<p>FieldNum -->VInt</p>++ <p><b>Lucene <= 1.4:</b></p><p>Bits -->Byte</p><p>Value -->String</p>- <p>Currently- only the low-order bit is used of Bits is used. It is one for+ <p>Only the low-order bit of Bits is used. It is one fortokenized fields, and zero for non-tokenized fields.</p>+ <p><b>Lucene >= 1.9:</b></p>+ <p>Bits -->+ Byte+ </p>+ <p>+ <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>+ </ul>+ </p>+ <p>Value -->+ String (default) or byte[] when the field value is a binary field+ </p>+</li></ol>