Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

improving documentation about compression, as suggested by Doug

Daniel Naberd983ab621547
diff --git a/docs/fileformats.html b/docs/fileformats.html
index 051147f4fdc..b2efbf8a9e4 100644
--- a/docs/fileformats.html
+++ b/docs/fileformats.html
@@ -1328,11 +1328,18 @@ limitations under the License.
<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 --&gt;
- String (default) or byte[] when the field value is a binary field
+ String | BinaryValue (depending on Bits)
+ </p>
+ <p>BinaryValue --&gt;
+ ValueSize, &lt;Byte&gt;^ValueSize
+ </p>
+ <p>ValueSize --&gt;
+ VInt
</p>
</li>
diff --git a/xdocs/fileformats.xml b/xdocs/fileformats.xml
index 84deabaa45b..2815ea17a95 100644
--- a/xdocs/fileformats.xml
+++ b/xdocs/fileformats.xml
@@ -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 --&gt;
- String (default) or byte[] when the field value is a binary field
+ String | BinaryValue (depending on Bits)
+ </p>
+ <p>BinaryValue --&gt;
+ ValueSize, &lt;Byte&gt;^ValueSize
+ </p>
+ <p>ValueSize --&gt;
+ VInt
</p>
</li>