Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

fix small issue in docs

Uwe Schindlerb662041cbc6b
diff --git a/lucene/docs/fileformats.html b/lucene/docs/fileformats.html
index 0b2b610ff7a..6c627fbdd4e 100644
--- a/lucene/docs/fileformats.html
+++ b/lucene/docs/fileformats.html
@@ -1859,7 +1859,7 @@ document.write("Last Published: " + document.lastModified);
(if compression is enabled, the algorithm used is ZLIB),
only available for indexes until Lucene version 2.9.x</li>
-<li>4th to 6th bits (mask: 0x7&lt;&lt;3) define the type of a
+<li>4th to 6th bit (mask: 0x7&lt;&lt;3) define the type of a
numeric field: <ul>
<li>all bits in mask are cleared if no numeric field at all</li>
@@ -1868,7 +1868,7 @@ document.write("Last Published: " + document.lastModified);
<li>2&lt;&lt;3: Value is Long</li>
-<li>3&lt;&lt;3: Value is Int as Float (as of Integer.intBitsToFloat)</li>
+<li>3&lt;&lt;3: Value is Int as Float (as of Float.intBitsToFloat)</li>
<li>4&lt;&lt;3: Value is Long as Double (as of Double.longBitsToDouble)</li>
diff --git a/lucene/docs/fileformats.pdf b/lucene/docs/fileformats.pdf
index 98b1746c4f3..99f8a8fba8d 100644
Binary files a/lucene/docs/fileformats.pdf and b/lucene/docs/fileformats.pdf differ
diff --git a/lucene/src/site/src/documentation/content/xdocs/fileformats.xml b/lucene/src/site/src/documentation/content/xdocs/fileformats.xml
index 5980e0383b2..b4155790bc0 100644
--- a/lucene/src/site/src/documentation/content/xdocs/fileformats.xml
+++ b/lucene/src/site/src/documentation/content/xdocs/fileformats.xml
@@ -1305,12 +1305,12 @@
<li>third bit is one for fields with compression option enabled
(if compression is enabled, the algorithm used is ZLIB),
only available for indexes until Lucene version 2.9.x</li>
- <li>4th to 6th bits (mask: 0x7&lt;&lt;3) define the type of a
+ <li>4th to 6th bit (mask: 0x7&lt;&lt;3) define the type of a
numeric field: <ul>
<li>all bits in mask are cleared if no numeric field at all</li>
<li>1&lt;&lt;3: Value is Int</li>
<li>2&lt;&lt;3: Value is Long</li>
- <li>3&lt;&lt;3: Value is Int as Float (as of Integer.intBitsToFloat)</li>
+ <li>3&lt;&lt;3: Value is Int as Float (as of Float.intBitsToFloat)</li>
<li>4&lt;&lt;3: Value is Long as Double (as of Double.longBitsToDouble)</li>
</ul></li>
</ul>