You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ct...@apache.org on 2017/05/09 19:22:32 UTC

svn commit: r1011953 [31/32] - in /websites/production/lucene/content/solr/guide/test-10290: ./ fonts/mplus1mn/ images/a-quick-overview/ images/other-parsers/

Modified: websites/production/lucene/content/solr/guide/test-10290/uploading-structured-data-store-data-with-the-data-import-handler.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/uploading-structured-data-store-data-with-the-data-import-handler.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/uploading-structured-data-store-data-with-the-data-import-handler.html Tue May  9 19:22:29 2017
@@ -1303,8 +1303,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -1452,7 +1452,10 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;dataSource</span> <span style="color: #7D9029">driver=</span><span style="color: #BA2121">&quot;org.hsqldb.jdbcDriver&quot;</span> <span style="color: #7D9029">url=</span><span style="color: #BA2121">&quot;${dataimporter.request.jdbcurl}&quot;</span> <span style="color: #7D9029">user=</span><span style="color: #BA2121">&quot;${dataimporter.request.jdbcuser}&quot;</span> <span style="color: #7D9029">password=</span><span style="color: #BA2121">${dataimporter.request.jdbcpassword}</span> <span style="color: #008000; font-weight: bold">/&gt;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;dataSource</span> <span style="color: #7D9029">driver=</span><span style="color: #BA2121">&quot;org.hsqldb.jdbcDriver&quot;</span>
+            <span style="color: #7D9029">url=</span><span style="color: #BA2121">&quot;${dataimporter.request.jdbcurl}&quot;</span>
+	    <span style="color: #7D9029">user=</span><span style="color: #BA2121">&quot;${dataimporter.request.jdbcuser}&quot;</span>
+	    <span style="color: #7D9029">password=</span><span style="color: #BA2121">${dataimporter.request.jdbcpassword}</span> <span style="color: #008000; font-weight: bold">/&gt;</span></code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1473,8 +1476,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -1485,15 +1488,15 @@ $('#toc').on('click', 'a', function() {
 <tbody>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><code>abort</code></p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">Aborts an ongoing operation. The URL is <code><a href="http://&lt;host&gt;:&lt;port&gt;/" class="bare">http://&lt;host&gt;:&lt;port&gt;/</a></code> <code>solr/</code> <code>&lt;collection_name&gt;/</code> <code>dataimport?</code> <code>command=abort</code>.</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Aborts an ongoing operation. The URL is <code>http://&lt;host&gt;:&lt;port&gt;/solr/&lt;collection_name&gt;/dataimport?command=abort</code>.</p></td>
 </tr>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><code>delta-import</code></p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">For incremental imports and change detection. The command is of the form <code><a href="http://&lt;host&gt;:&lt;port&gt;/" class="bare">http://&lt;host&gt;:&lt;port&gt;/</a></code> <code>solr/</code> <code>&lt;collection_name&gt;/</code> <code>dataimport?</code> <code>command=delta-import</code>. It supports the same clean, commit, optimize and debug parameters as full-import command. Only the SqlEntityProcessor supports delta imports.</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">For incremental imports and change detection. The command is of the form <code>http://&lt;host&gt;:&lt;port&gt;/solr/&lt;collection_name&gt;/dataimport?command=delta-import</code>.  It supports the same clean, commit, optimize and debug parameters as full-import command. Only the SqlEntityProcessor supports delta imports.</p></td>
 </tr>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><code>full-import</code></p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">A Full Import operation can be started with a URL of the form <code><a href="http://&lt;host&gt;:&lt;port&gt;/" class="bare">http://&lt;host&gt;:&lt;port&gt;/</a></code> <code>solr/</code> <code>&lt;collection_name&gt;/</code> <code>dataimport?</code> <code>command=full-import</code>. The command returns immediately. The operation will be started in a new thread and the <em>status</em> attribute in the response should be shown as <em>busy</em>. The operation may take some time depending on the size of dataset. Queries to Solr are not blocked during full-imports. When a full-import command is executed, it stores the start time of the operation in a file located at <code>conf/dataimport.properties</code>. This stored timestamp is used when a delta-import operation is executed. For a list of parameters that can be passed to this command, see below.</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">A Full Import operation can be started with a URL of the form <code>http://&lt;host&gt;:&lt;port&gt;/solr/&lt;collection_name&gt;/dataimport?command=full-import</code>. The command returns immediately. The operation will be started in a new thread and the <em>status</em> attribute in the response should be shown as <em>busy</em>. The operation may take some time depending on the size of dataset. Queries to Solr are not blocked during full-imports. When a full-import command is executed, it stores the start time of the operation in a file located at <code>conf/dataimport.properties</code>. This stored timestamp is used when a delta-import operation is executed. For a list of parameters that can be passed to this command, see below.</p></td>
 </tr>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><code>reload-config</code></p></td>
@@ -1501,12 +1504,12 @@ $('#toc').on('click', 'a', function() {
 <p>If the configuration file has been changed and you wish to reload it without restarting Solr, run the command</p>
 </div>
 <div class="paragraph">
-<p><code><a href="http://&lt;host&gt;:&lt;port&gt;/solr/&lt;collection_name&gt;/command=reload-config" class="bare">http://&lt;host&gt;:&lt;port&gt;/solr/&lt;collection_name&gt;/command=reload-config</a></code></p>
+<p><code>http://&lt;host&gt;:&lt;port&gt;/solr/&lt;collection_name&gt;/command=reload-config</code></p>
 </div></div></td>
 </tr>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><code>status</code></p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">The URL is <code><a href="http://&lt;host&gt;:&lt;port&gt;/" class="bare">http://&lt;host&gt;:&lt;port&gt;/</a></code> <code>solr/</code> <code>&lt;collection_name&gt;/</code> <code>dataimport?</code> <code>command=status</code>. It returns statistics on the number of documents created, deleted, queries run, rows fetched, status, and so on.</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">The URL is <code>http://&lt;host&gt;:&lt;port&gt;/solr/&lt;collection_name&gt;/dataimport?command=status</code>. It returns statistics on the number of documents created, deleted, queries run, rows fetched, status, and so on.</p></td>
 </tr>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><code>show-config</code></p></td>
@@ -1521,8 +1524,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -1568,7 +1571,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;propertyWriter</span> <span style="color: #7D9029">dateFormat=</span><span style="color: #BA2121">&quot;yyyy-MM-dd HH:mm:ss&quot;</span> <span style="color: #7D9029">type=</span><span style="color: #BA2121">&quot;SimplePropertiesWriter&quot;</span> <span style="color: #7D9029">directory=</span><span style="color: #BA2121">&quot;data&quot;</span> <span style="color: #7D9029">filename=</span><span style="color: #BA2121">&quot;my_dih.properties&quot;</span> <span style="color: #7D9029">locale=</span><span style="color: #BA2121">&quot;en-US&quot;</span> <span style="color: #008000; font-weight: bold">/&gt;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;propertyWriter</span> <span style="color: #7D9029">dateFormat=</span><span style="color: #BA2121">&quot;yyyy-MM-dd HH:mm:ss&quot;</span> <span style="color: #7D9029">type=</span><span style="color: #BA2121">&quot;SimplePropertiesWriter&quot;</span>
+                <span style="color: #7D9029">directory=</span><span style="color: #BA2121">&quot;data&quot;</span> <span style="color: #7D9029">filename=</span><span style="color: #BA2121">&quot;my_dih.properties&quot;</span> <span style="color: #7D9029">locale=</span><span style="color: #BA2121">&quot;en-US&quot;</span> <span style="color: #008000; font-weight: bold">/&gt;</span></code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1576,8 +1580,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -1639,7 +1643,7 @@ $('#toc').on('click', 'a', function() {
 <div class="listingblock">
 <div class="content">
 <pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;dataSource</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;a1&quot;</span> <span style="color: #7D9029">driver=</span><span style="color: #BA2121">&quot;org.hsqldb.jdbcDriver&quot;</span> <span style="border: 1px solid #FF0000">...</span>  <span style="color: #008000; font-weight: bold">/&gt;</span>
-<span style="color: #008000; font-weight: bold">&lt;dataSource</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;a2&quot;</span> <span style="color: #7D9029">type=</span><span style="color: #BA2121">FieldReaderDataSource&quot;</span> <span style="color: #008000; font-weight: bold">/&gt;</span>
+<span style="color: #008000; font-weight: bold">&lt;dataSource</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;a2&quot;</span> <span style="color: #7D9029">type=</span><span style="color: #BA2121">&quot;FieldReaderDataSource&quot;</span> <span style="color: #008000; font-weight: bold">/&gt;</span>
 <span style="color: #008000; font-weight: bold">&lt;document&gt;</span>
 
   <span style="color: #408080; font-style: italic">&lt;!-- processor for database --&gt;</span>
@@ -1656,7 +1660,8 @@ $('#toc').on('click', 'a', function() {
       <span style="color: #408080; font-style: italic">&lt;!-- Xpath configuration follows --&gt;</span>
       ...
     <span style="color: #008000; font-weight: bold">&lt;/entity&gt;</span>
-  <span style="color: #008000; font-weight: bold">&lt;/entity&gt;</span></code></pre>
+  <span style="color: #008000; font-weight: bold">&lt;/entity&gt;</span>
+<span style="color: #008000; font-weight: bold">&lt;/document&gt;</span></code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1673,8 +1678,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -1701,8 +1706,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -1716,11 +1721,7 @@ $('#toc').on('click', 'a', function() {
 <td class="tableblock halign-left valign-top"><p class="tableblock">Usual jdbc connection properties</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><div><div class="literalblock">
-<div class="content">
-<pre>batchSize</pre>
-</div>
-</div></div></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><code>batchSize</code></p></td>
 <td class="tableblock halign-left valign-top"><div><div class="paragraph">
 <p>Passed to Statement#setFetchSize, default value 500.</p>
 </div>
@@ -1728,7 +1729,7 @@ $('#toc').on('click', 'a', function() {
 <p>For MySQL driver, which doesn&#8217;t honor fetchSize and pulls whole resultSet, which often lead to OutOfMemoryError.</p>
 </div>
 <div class="paragraph">
-<p>In this case, set batchSize=-1 that pass setFetchSize(Integer.MIN_VALUE), and switch result set to pull row by row</p>
+<p>In this case, set <code>batchSize=-1</code> that pass setFetchSize(Integer.MIN_VALUE), and switch result set to pull row by row</p>
 </div></div></td>
 </tr>
 </tbody>
@@ -1757,8 +1758,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -1799,8 +1800,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -1884,7 +1885,8 @@ $('#toc').on('click', 'a', function() {
 <div class="listingblock">
 <div class="content">
 <pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;entity</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;product&quot;</span> <span style="color: #7D9029">query=</span><span style="color: #BA2121">&quot;select description,sku, manu from product&quot;</span> <span style="color: #008000; font-weight: bold">&gt;</span>
-  <span style="color: #008000; font-weight: bold">&lt;entity</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;manufacturer&quot;</span> <span style="color: #7D9029">query=</span><span style="color: #BA2121">&quot;select id, name from manufacturer&quot;</span> <span style="color: #7D9029">cacheKey=</span><span style="color: #BA2121">&quot;id&quot;</span> <span style="color: #7D9029">cacheLookup=</span><span style="color: #BA2121">&quot;product.manu&quot;</span> <span style="color: #7D9029">cacheImpl=</span><span style="color: #BA2121">&quot;SortedMapBackedCache&quot;</span><span style="color: #008000; font-weight: bold">/&gt;</span>
+  <span style="color: #008000; font-weight: bold">&lt;entity</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;manufacturer&quot;</span> <span style="color: #7D9029">query=</span><span style="color: #BA2121">&quot;select id, name from manufacturer&quot;</span>
+          <span style="color: #7D9029">cacheKey=</span><span style="color: #BA2121">&quot;id&quot;</span> <span style="color: #7D9029">cacheLookup=</span><span style="color: #BA2121">&quot;product.manu&quot;</span> <span style="color: #7D9029">cacheImpl=</span><span style="color: #BA2121">&quot;SortedMapBackedCache&quot;</span><span style="color: #008000; font-weight: bold">/&gt;</span>
 <span style="color: #008000; font-weight: bold">&lt;/entity&gt;</span></code></pre>
 </div>
 </div>
@@ -1898,8 +1900,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -1941,8 +1943,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -1982,8 +1984,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -2025,10 +2027,9 @@ $('#toc').on('click', 'a', function() {
               <span style="color: #7D9029">pk=</span><span style="color: #BA2121">&quot;link&quot;</span>
               <span style="color: #7D9029">url=</span><span style="color: #BA2121">&quot;http://rss.slashdot.org/Slashdot/slashdot&quot;</span>
               <span style="color: #7D9029">processor=</span><span style="color: #BA2121">&quot;XPathEntityProcessor&quot;</span>
-
-              <span style="border: 1px solid #FF0000">&lt;!--</span> <span style="border: 1px solid #FF0000">forEach</span> <span style="border: 1px solid #FF0000">sets</span> <span style="border: 1px solid #FF0000">up</span> <span style="border: 1px solid #FF0000">a</span> <span style="border: 1px solid #FF0000">processing</span> <span style="border: 1px solid #FF0000">loop</span> <span style="border: 1px solid #FF0000">;</span> <span style="border: 1px solid #FF0000">here</span> <span style="border: 1px solid #FF0000">there</span> <span style="border: 1px solid #FF0000">are</span> <span style="border: 1px solid #FF0000">two</span> <span style="border: 1px solid #FF0000">expressions--</span><span style="color: #008000; font-weight: bold">&gt;</span>
-              forEach=&quot;/RDF/channel | /RDF/item&quot;
-              transformer=&quot;DateFormatTransformer&quot;&gt;
+              <span style="color: #7D9029">transformer=</span><span style="color: #BA2121">&quot;DateFormatTransformer&quot;</span>
+              <span style="color: #7D9029">forEach=</span><span style="color: #BA2121">&quot;/RDF/channel | /RDF/item&quot;</span> <span style="color: #008000; font-weight: bold">&gt;</span>
+          <span style="color: #408080; font-style: italic">&lt;!-- NOTE: forEach sets up a processing loop ; here there are two expressions --&gt;</span>
       <span style="color: #008000; font-weight: bold">&lt;field</span> <span style="color: #7D9029">column=</span><span style="color: #BA2121">&quot;source&quot;</span> <span style="color: #7D9029">xpath=</span><span style="color: #BA2121">&quot;/RDF/channel/title&quot;</span> <span style="color: #7D9029">commonField=</span><span style="color: #BA2121">&quot;true&quot;</span> <span style="color: #008000; font-weight: bold">/&gt;</span>
       <span style="color: #008000; font-weight: bold">&lt;field</span> <span style="color: #7D9029">column=</span><span style="color: #BA2121">&quot;source-link&quot;</span> <span style="color: #7D9029">xpath=</span><span style="color: #BA2121">&quot;/RDF/channel/link&quot;</span> <span style="color: #7D9029">commonField=</span><span style="color: #BA2121">&quot;true&quot;</span><span style="color: #008000; font-weight: bold">/&gt;</span>
       <span style="color: #008000; font-weight: bold">&lt;field</span> <span style="color: #7D9029">column=</span><span style="color: #BA2121">&quot;subject&quot;</span> <span style="color: #7D9029">xpath=</span><span style="color: #BA2121">&quot;/RDF/channel/subject&quot;</span> <span style="color: #7D9029">commonField=</span><span style="color: #BA2121">&quot;true&quot;</span> <span style="color: #008000; font-weight: bold">/&gt;</span>
@@ -2079,8 +2080,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -2150,7 +2151,7 @@ $('#toc').on('click', 'a', function() {
 <div class="sect3">
 <h4 id="UploadingStructuredDataStoreDatawiththeDataImportHandler-ImportingNewEmailsOnly">Importing New Emails Only</h4>
 <div class="paragraph">
-<p>After running a full import, the MailEntityProcessor keeps track of the timestamp of the previous import so that subsequent imports can use the fetchMailsSince filter to only pull new messages from the mail server. This occurs automatically using the Data Import Handler dataimport.properties file (stored in conf). For instance, if you set fetchMailsSince=2014-08-22 00:00:00 in your mail-data-config.xml, then all mail messages that occur after this date will be imported on the first run of the importer. Subsequent imports will use the date of the previous import as the fetchMailsSince filter, so that only new emails since the last import are indexed each time.</p>
+<p>After running a full import, the MailEntityProcessor keeps track of the timestamp of the previous import so that subsequent imports can use the fetchMailsSince filter to only pull new messages from the mail server. This occurs automatically using the Data Import Handler dataimport.properties file (stored in conf). For instance, if you set <code>fetchMailsSince="2014-08-22 00:00:00"</code> in your <code>mail-data-config.xml</code>, then all mail messages that occur after this date will be imported on the first run of the importer. Subsequent imports will use the date of the previous import as the fetchMailsSince filter, so that only new emails since the last import are indexed each time.</p>
 </div>
 </div>
 <div class="sect3">
@@ -2188,8 +2189,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -2258,8 +2259,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -2343,8 +2344,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -2414,14 +2415,16 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
-<tbody>
+<thead>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">cursorMark="true"</p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">specify it to enable cursor for efficient result set scrolling</p></td>
+<th class="tableblock halign-left valign-top">cursorMark="true"</th>
+<th class="tableblock halign-left valign-top">specify it to enable cursor for efficient result set scrolling</th>
 </tr>
+</thead>
+<tbody>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock">sort="id asc"</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">in this case it usually needs to specify sort param referencing uniqueKey field. see <a href="pagination-of-results.html#pagination-of-results">Pagination of Results</a> for details.</p></td>
@@ -2453,8 +2456,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 40%;">
+<col style="width: 60%;">
 </colgroup>
 <thead>
 <tr>
@@ -2518,8 +2521,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -2552,8 +2555,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -2636,8 +2639,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -2648,19 +2651,15 @@ $('#toc').on('click', 'a', function() {
 <tbody>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock">formatStyle</p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">The format used for parsing this field. The value of the attribute must be one of (`number</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">percent</p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">integer</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">The format used for parsing this field. The value of the attribute must be one of (<code>number|percent|integer|currency</code>). This uses the semantics of the Java NumberFormat class.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">currency`). This uses the semantics of the Java NumberFormat class.</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">sourceColName</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">The column on which the NumberFormat is to be applied. This is attribute is absent. The source column and the target column are the same.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">The column on which the NumberFormat is to be applied. This is attribute is absent. The source column and the target column are the same.</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">locale</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">The locale to be used for parsing the strings. The locale. If not defined, the ROOT locale is used. It must be specified as language-country (<a href="https://tools.ietf.org/html/bcp47">BCP 47 language tag</a>). For example, <code>en-US</code>.</p></td>
 </tr>
 </tbody>
 </table>
@@ -2689,8 +2688,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -2818,8 +2817,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 50%;">
-<col style="width: 50%;">
+<col style="width: 30%;">
+<col style="width: 70%;">
 </colgroup>
 <thead>
 <tr>
@@ -2830,15 +2829,11 @@ $('#toc').on('click', 'a', function() {
 <tbody>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock">$skipDoc</p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">Skip the current document; that is, do not add it to Solr. The value can be the string `true</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Skip the current document; that is, do not add it to Solr. The value can be the string <code>true|false</code>.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">false`.</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">$skipRow</p></td>
-</tr>
-<tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">Skip the current row. The document will be added with rows from other entities. The value can be the string `true</p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">false`</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Skip the current row. The document will be added with rows from other entities. The value can be the string <code>true|false</code></p></td>
 </tr>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock">$deleteDocById</p></td>
@@ -2888,7 +2883,7 @@ $('#toc').on('click', 'a', function() {
             <div class="row">
                 <div class="col-lg-12 footer">
                &copy;2017 Apache Software Foundation. All rights reserved. <br />
- Site last generated: 2017-05-03 <br />
+ Site last generated: 2017-05-09 <br />
 <p><img src="solr-sunOnly-small.png" alt="Apache Solr"/></p>
                 </div>
             </div>

Modified: websites/production/lucene/content/solr/guide/test-10290/using-javascript.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/using-javascript.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/using-javascript.html Tue May  9 19:22:29 2017
@@ -1328,7 +1328,7 @@ $('#toc').on('click', 'a', function() {
             <div class="row">
                 <div class="col-lg-12 footer">
                &copy;2017 Apache Software Foundation. All rights reserved. <br />
- Site last generated: 2017-05-03 <br />
+ Site last generated: 2017-05-09 <br />
 <p><img src="solr-sunOnly-small.png" alt="Apache Solr"/></p>
                 </div>
             </div>

Modified: websites/production/lucene/content/solr/guide/test-10290/using-jmx-with-solr.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/using-jmx-with-solr.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/using-jmx-with-solr.html Tue May  9 19:22:29 2017
@@ -1465,7 +1465,7 @@ RMI_PORT=18983</code></pre>
             <div class="row">
                 <div class="col-lg-12 footer">
                &copy;2017 Apache Software Foundation. All rights reserved. <br />
- Site last generated: 2017-05-03 <br />
+ Site last generated: 2017-05-09 <br />
 <p><img src="solr-sunOnly-small.png" alt="Apache Solr"/></p>
                 </div>
             </div>

Modified: websites/production/lucene/content/solr/guide/test-10290/using-python.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/using-python.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/using-python.html Tue May  9 19:22:29 2017
@@ -1292,7 +1292,7 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java">from urllib2 <span style="color: #008000; font-weight: bold">import</span> <span style="border: 1px solid #FF0000">*</span></code></pre>
+<pre class="pygments highlight"><code data-lang="python"><span style="color: #008000; font-weight: bold">from</span> <span style="color: #0000FF; font-weight: bold">urllib2</span> <span style="color: #008000; font-weight: bold">import</span> <span style="color: #666666">*</span></code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1300,9 +1300,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java">connection <span style="color: #666666">=</span> urlopen<span style="color: #666666">(</span>
-                <span style="border: 1px solid #FF0000">&#39;</span>http<span style="color: #666666">:</span><span style="color: #408080; font-style: italic">//localhost:8983/solr/collection_name/select?q=cheese&amp;wt=python&#39;)</span>
-response <span style="color: #666666">=</span> eval<span style="color: #666666">(</span>connection<span style="color: #666666">.</span><span style="color: #7D9029">read</span><span style="color: #666666">())</span></code></pre>
+<pre class="pygments highlight"><code data-lang="python">connection <span style="color: #666666">=</span> urlopen(<span style="color: #BA2121">&#39;http://localhost:8983/solr/collection_name/select?q=cheese&amp;wt=python&#39;</span>)
+response <span style="color: #666666">=</span> <span style="color: #008000">eval</span>(connection<span style="color: #666666">.</span>read())</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1310,12 +1309,12 @@ response <span style="color: #666666">=<
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java">print response<span style="color: #666666">[</span><span style="border: 1px solid #FF0000">&#39;</span>response<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">][</span><span style="border: 1px solid #FF0000">&#39;</span>numFound<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">],</span> <span style="color: #BA2121">&quot;documents found.&quot;</span>
+<pre class="pygments highlight"><code data-lang="python"><span style="color: #008000; font-weight: bold">print</span> response[<span style="color: #BA2121">&#39;response&#39;</span>][<span style="color: #BA2121">&#39;numFound&#39;</span>], <span style="color: #BA2121">&quot;documents found.&quot;</span>
 
-<span style="border: 1px solid #FF0000">#</span> Print the name of each document<span style="color: #666666">.</span>
+<span style="color: #408080; font-style: italic"># Print the name of each document.</span>
 
-<span style="color: #008000; font-weight: bold">for</span> document in response<span style="color: #666666">[</span><span style="border: 1px solid #FF0000">&#39;</span>response<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">][</span><span style="border: 1px solid #FF0000">&#39;</span>docs<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">]:</span>
-  print <span style="color: #BA2121">&quot;  Name =&quot;</span><span style="color: #666666">,</span> document<span style="color: #666666">[</span><span style="border: 1px solid #FF0000">&#39;</span>name<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">]</span></code></pre>
+<span style="color: #008000; font-weight: bold">for</span> document <span style="color: #AA22FF; font-weight: bold">in</span> response[<span style="color: #BA2121">&#39;response&#39;</span>][<span style="color: #BA2121">&#39;docs&#39;</span>]:
+  <span style="color: #008000; font-weight: bold">print</span> <span style="color: #BA2121">&quot;  Name =&quot;</span>, document[<span style="color: #BA2121">&#39;name&#39;</span>]</code></pre>
 </div>
 </div>
 </div>
@@ -1328,7 +1327,7 @@ response <span style="color: #666666">=<
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java">$ sudo easy_install simplejson</code></pre>
+<pre class="pygments highlight"><code data-lang="bash">$ sudo easy_install simplejson</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1336,16 +1335,16 @@ response <span style="color: #666666">=<
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java">from urllib2 <span style="color: #008000; font-weight: bold">import</span> <span style="border: 1px solid #FF0000">*</span>
+<pre class="pygments highlight"><code data-lang="python"><span style="color: #008000; font-weight: bold">from</span> <span style="color: #0000FF; font-weight: bold">urllib2</span> <span style="color: #008000; font-weight: bold">import</span> <span style="color: #666666">*</span>
 <span style="color: #008000; font-weight: bold">import</span> <span style="color: #0000FF; font-weight: bold">simplejson</span>
-connection <span style="color: #666666">=</span> urlopen<span style="color: #666666">(</span><span style="border: 1px solid #FF0000">&#39;</span>http<span style="color: #666666">:</span><span style="color: #408080; font-style: italic">//localhost:8983/solr/collection_name/select?q=cheese&amp;wt=json&#39;)</span>
-response <span style="color: #666666">=</span> simplejson<span style="color: #666666">.</span><span style="color: #7D9029">load</span><span style="color: #666666">(</span>connection<span style="color: #666666">)</span>
-print response<span style="color: #666666">[</span><span style="border: 1px solid #FF0000">&#39;</span>response<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">][</span><span style="border: 1px solid #FF0000">&#39;</span>numFound<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">],</span> <span style="color: #BA2121">&quot;documents found.&quot;</span>
+connection <span style="color: #666666">=</span> urlopen(<span style="color: #BA2121">&#39;http://localhost:8983/solr/collection_name/select?q=cheese&amp;wt=json&#39;</span>)
+response <span style="color: #666666">=</span> simplejson<span style="color: #666666">.</span>load(connection)
+<span style="color: #008000; font-weight: bold">print</span> response[<span style="color: #BA2121">&#39;response&#39;</span>][<span style="color: #BA2121">&#39;numFound&#39;</span>], <span style="color: #BA2121">&quot;documents found.&quot;</span>
 
-<span style="border: 1px solid #FF0000">#</span> Print the name of each document<span style="color: #666666">.</span>
+<span style="color: #408080; font-style: italic"># Print the name of each document.</span>
 
-<span style="color: #008000; font-weight: bold">for</span> document in response<span style="color: #666666">[</span><span style="border: 1px solid #FF0000">&#39;</span>response<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">][</span><span style="border: 1px solid #FF0000">&#39;</span>docs<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">]:</span>
-  print <span style="color: #BA2121">&quot;  Name =&quot;</span><span style="color: #666666">,</span> document<span style="color: #666666">[</span><span style="border: 1px solid #FF0000">&#39;</span>name<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">]</span></code></pre>
+<span style="color: #008000; font-weight: bold">for</span> document <span style="color: #AA22FF; font-weight: bold">in</span> response[<span style="color: #BA2121">&#39;response&#39;</span>][<span style="color: #BA2121">&#39;docs&#39;</span>]:
+  <span style="color: #008000; font-weight: bold">print</span> <span style="color: #BA2121">&quot;  Name =&quot;</span>, document[<span style="color: #BA2121">&#39;name&#39;</span>]</code></pre>
 </div>
 </div>
 </div>
@@ -1386,7 +1385,7 @@ print response<span style="color: #66666
             <div class="row">
                 <div class="col-lg-12 footer">
                &copy;2017 Apache Software Foundation. All rights reserved. <br />
- Site last generated: 2017-05-03 <br />
+ Site last generated: 2017-05-09 <br />
 <p><img src="solr-sunOnly-small.png" alt="Apache Solr"/></p>
                 </div>
             </div>

Modified: websites/production/lucene/content/solr/guide/test-10290/using-solr-from-ruby.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/using-solr-from-ruby.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/using-solr-from-ruby.html Tue May  9 19:22:29 2017
@@ -1278,7 +1278,10 @@ $('#toc').on('click', 'a', function() {
 
 <div id="main-content">
   <div class="paragraph">
-<p>Solr has an optional Ruby response format that extends its <a href="http://Response%20Writers#JSON%20Response%20Writer">JSON output</a> in the following ways to allow the response to be safely eval&#8217;d by Ruby&#8217;s interpreter:</p>
+<p>Solr has an optional Ruby response format that extends the <a href="response-writers.html#ResponseWriters-JSONResponseWriter">JSON output</a> to allow the response to be safely eval&#8217;d by Ruby&#8217;s interpreter</p>
+</div>
+<div class="paragraph">
+<p>This Ruby response format differs from JSON in the following ways:</p>
 </div>
 <div class="ulist">
 <ul>
@@ -1287,7 +1290,7 @@ $('#toc').on('click', 'a', function() {
 <div class="ulist">
 <ul>
 <li>
-<p>\ and ' are the only two characters escaped&#8230;&#8203;</p>
+<p><code>\</code> and <code>'</code> are the only two characters escaped&#8230;&#8203;</p>
 </li>
 <li>
 <p>unicode escapes not used&#8230;&#8203; data is written as raw UTF-8</p>
@@ -1299,79 +1302,79 @@ $('#toc').on('click', 'a', function() {
 <p>nil used for null</p>
 </li>
 <li>
-<p>&#8658; used as the key/value separator in maps</p>
+<p><code>=&gt;</code> used as the key/value separator in maps</p>
 </li>
 </ul>
 </div>
 <div class="paragraph">
-<p>Here&#8217;s an example Ruby response from Solr, for <code><a href="http://localhost:8983/solr/techproducts/select?q=iPod&amp;wt=ruby&amp;indent=on" class="bare">http://localhost:8983/solr/techproducts/select?q=iPod&amp;wt=ruby&amp;indent=on</a></code> (with Solr launching using <code>bin/solr start -e techproducts</code>):</p>
+<p>Here&#8217;s an example Ruby response from Solr, for a request like <code>http://localhost:8983/solr/techproducts/select?q=iPod&amp;wt=ruby&amp;indent=on</code> (with Solr launching using <code>bin/solr start -e techproducts</code>):</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java"><span style="color: #666666">{</span>
-  <span style="border: 1px solid #FF0000">&#39;</span>responseHeader<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;{</span>
-    <span style="border: 1px solid #FF0000">&#39;</span>status<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;0,</span>
-    <span style="border: 1px solid #FF0000">&#39;</span>QTime<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;0,</span>
-    <span style="border: 1px solid #FF0000">&#39;</span>params<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;{</span>
-      <span style="color: #BA2121">&#39;q&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>iPod<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-      <span style="border: 1px solid #FF0000">&#39;</span>indent<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>on<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-      <span style="border: 1px solid #FF0000">&#39;</span>wt<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>ruby<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">}},</span>
-  <span style="border: 1px solid #FF0000">&#39;</span>response<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;{</span><span style="border: 1px solid #FF0000">&#39;</span>numFound<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;3,</span><span style="border: 1px solid #FF0000">&#39;</span>start<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;0,</span><span style="border: 1px solid #FF0000">&#39;</span>docs<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;[</span>
-      <span style="color: #666666">{</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>id<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>IW<span style="color: #666666">-02</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>name<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>iPod <span style="color: #666666">&amp;</span> iPod Mini USB <span style="color: #666666">2.0</span> Cable<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>manu<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>Belkin<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>manu_id_s<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>belkin<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>cat<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;[</span><span style="border: 1px solid #FF0000">&#39;</span>electronics<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-          <span style="border: 1px solid #FF0000">&#39;</span>connector<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">],</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>features<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;[</span><span style="border: 1px solid #FF0000">&#39;</span>car power adapter <span style="color: #008000; font-weight: bold">for</span> iPod<span style="color: #666666">,</span> white<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">],</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>weight<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;2.0,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>price<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;11.5,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>price_c<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">11.50,</span>USD<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>popularity<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;1,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>inStock<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #008000; font-weight: bold">false</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>store<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">37.7752,-122.4232</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>manufacturedate_dt<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">2006-02-14</span>T23<span style="color: #666666">:55:59</span>Z<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>_version_<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;1491038048794705920},</span>
-      <span style="color: #666666">{</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>id<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>F8V7067<span style="color: #666666">-</span>APL<span style="color: #666666">-</span>KIT<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>name<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>Belkin Mobile Power Cord <span style="color: #008000; font-weight: bold">for</span> iPod w<span style="color: #666666">/</span> Dock<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>manu<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>Belkin<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>manu_id_s<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>belkin<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>cat<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;[</span><span style="border: 1px solid #FF0000">&#39;</span>electronics<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-          <span style="border: 1px solid #FF0000">&#39;</span>connector<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">],</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>features<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;[</span><span style="border: 1px solid #FF0000">&#39;</span>car power adapter<span style="color: #666666">,</span> white<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">],</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>weight<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;4.0,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>price<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;19.95,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>price_c<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">19.95,</span>USD<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>popularity<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;1,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>inStock<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #008000; font-weight: bold">false</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>store<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">45.18014,-93.87741</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>manufacturedate_dt<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">2005-08-01</span>T16<span style="color: #666666">:30:25</span>Z<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>_version_<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;1491038048792608768},</span>
-      <span style="color: #666666">{</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>id<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>MA147LL<span style="color: #666666">/</span>A<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>name<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>Apple <span style="color: #666666">60</span> GB iPod with Video Playback Black<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>manu<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>Apple Computer Inc<span style="color: #666666">.</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>manu_id_s<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>apple<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>cat<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;[</span><span style="border: 1px solid #FF0000">&#39;</span>electronics<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-          <span style="border: 1px solid #FF0000">&#39;</span>music<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">],</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>features<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;[</span><span style="border: 1px solid #FF0000">&#39;</span>iTunes<span style="color: #666666">,</span> Podcasts<span style="color: #666666">,</span> Audiobooks<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-          <span style="border: 1px solid #FF0000">&#39;</span>Stores up to <span style="color: #666666">15,000</span> songs<span style="color: #666666">,</span> <span style="color: #666666">25,000</span> photos<span style="color: #666666">,</span> or <span style="color: #666666">150</span> hours of video<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-          <span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">2.5-</span>inch<span style="color: #666666">,</span> <span style="color: #666666">320</span>x240 color TFT LCD display with LED backlight<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-          <span style="border: 1px solid #FF0000">&#39;</span>Up to <span style="color: #666666">20</span> hours of battery life<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-          <span style="border: 1px solid #FF0000">&#39;</span>Plays AAC<span style="color: #666666">,</span> MP3<span style="color: #666666">,</span> WAV<span style="color: #666666">,</span> AIFF<span style="color: #666666">,</span> Audible<span style="color: #666666">,</span> Apple Lossless<span style="color: #666666">,</span> H<span style="color: #666666">.264</span> video<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-          <span style="border: 1px solid #FF0000">&#39;</span>Notes<span style="color: #666666">,</span> Calendar<span style="color: #666666">,</span> Phone book<span style="color: #666666">,</span> Hold button<span style="color: #666666">,</span> Date display<span style="color: #666666">,</span> Photo wallet<span style="color: #666666">,</span> Built<span style="color: #666666">-</span>in games<span style="color: #666666">,</span> JPEG photo playback<span style="color: #666666">,</span> Upgradeable firmware<span style="color: #666666">,</span> USB <span style="color: #666666">2.0</span> compatibility<span style="color: #666666">,</span> Playback speed control<span style="color: #666666">,</span> Rechargeable capability<span style="color: #666666">,</span> Battery level indication<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">],</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>includes<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span>earbud headphones<span style="color: #666666">,</span> USB cable<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>weight<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;5.5,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>price<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;399.0,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>price_c<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">399.00,</span>USD<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>popularity<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;10,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>inStock<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #008000; font-weight: bold">true</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>store<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">37.7752,-100.0232</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>manufacturedate_dt<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">2005-10-12</span>T08<span style="color: #666666">:00:00</span>Z<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span>
-        <span style="border: 1px solid #FF0000">&#39;</span>_version_<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">=&gt;1491038048799948800}]</span>
-  <span style="color: #666666">}}</span></code></pre>
+<pre class="pygments highlight"><code data-lang="ruby">{
+  <span style="color: #BA2121">&#39;responseHeader&#39;</span><span style="color: #666666">=&gt;</span>{
+    <span style="color: #BA2121">&#39;status&#39;</span><span style="color: #666666">=&gt;0</span>,
+    <span style="color: #BA2121">&#39;QTime&#39;</span><span style="color: #666666">=&gt;0</span>,
+    <span style="color: #BA2121">&#39;params&#39;</span><span style="color: #666666">=&gt;</span>{
+      <span style="color: #BA2121">&#39;q&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;iPod&#39;</span>,
+      <span style="color: #BA2121">&#39;indent&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;on&#39;</span>,
+      <span style="color: #BA2121">&#39;wt&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;ruby&#39;</span>}},
+  <span style="color: #BA2121">&#39;response&#39;</span><span style="color: #666666">=&gt;</span>{<span style="color: #BA2121">&#39;numFound&#39;</span><span style="color: #666666">=&gt;3</span>,<span style="color: #BA2121">&#39;start&#39;</span><span style="color: #666666">=&gt;0</span>,<span style="color: #BA2121">&#39;docs&#39;</span><span style="color: #666666">=&gt;[</span>
+      {
+        <span style="color: #BA2121">&#39;id&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;IW-02&#39;</span>,
+        <span style="color: #BA2121">&#39;name&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;iPod &amp; iPod Mini USB 2.0 Cable&#39;</span>,
+        <span style="color: #BA2121">&#39;manu&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;Belkin&#39;</span>,
+        <span style="color: #BA2121">&#39;manu_id_s&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;belkin&#39;</span>,
+        <span style="color: #BA2121">&#39;cat&#39;</span><span style="color: #666666">=&gt;[</span><span style="color: #BA2121">&#39;electronics&#39;</span>,
+          <span style="color: #BA2121">&#39;connector&#39;</span><span style="color: #666666">]</span>,
+        <span style="color: #BA2121">&#39;features&#39;</span><span style="color: #666666">=&gt;[</span><span style="color: #BA2121">&#39;car power adapter for iPod, white&#39;</span><span style="color: #666666">]</span>,
+        <span style="color: #BA2121">&#39;weight&#39;</span><span style="color: #666666">=&gt;2.0</span>,
+        <span style="color: #BA2121">&#39;price&#39;</span><span style="color: #666666">=&gt;11.5</span>,
+        <span style="color: #BA2121">&#39;price_c&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;11.50,USD&#39;</span>,
+        <span style="color: #BA2121">&#39;popularity&#39;</span><span style="color: #666666">=&gt;1</span>,
+        <span style="color: #BA2121">&#39;inStock&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #008000">false</span>,
+        <span style="color: #BA2121">&#39;store&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;37.7752,-122.4232&#39;</span>,
+        <span style="color: #BA2121">&#39;manufacturedate_dt&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;2006-02-14T23:55:59Z&#39;</span>,
+        <span style="color: #BA2121">&#39;_version_&#39;</span><span style="color: #666666">=&gt;1491038048794705920</span>},
+      {
+        <span style="color: #BA2121">&#39;id&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;F8V7067-APL-KIT&#39;</span>,
+        <span style="color: #BA2121">&#39;name&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;Belkin Mobile Power Cord for iPod w/ Dock&#39;</span>,
+        <span style="color: #BA2121">&#39;manu&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;Belkin&#39;</span>,
+        <span style="color: #BA2121">&#39;manu_id_s&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;belkin&#39;</span>,
+        <span style="color: #BA2121">&#39;cat&#39;</span><span style="color: #666666">=&gt;[</span><span style="color: #BA2121">&#39;electronics&#39;</span>,
+          <span style="color: #BA2121">&#39;connector&#39;</span><span style="color: #666666">]</span>,
+        <span style="color: #BA2121">&#39;features&#39;</span><span style="color: #666666">=&gt;[</span><span style="color: #BA2121">&#39;car power adapter, white&#39;</span><span style="color: #666666">]</span>,
+        <span style="color: #BA2121">&#39;weight&#39;</span><span style="color: #666666">=&gt;4.0</span>,
+        <span style="color: #BA2121">&#39;price&#39;</span><span style="color: #666666">=&gt;19.95</span>,
+        <span style="color: #BA2121">&#39;price_c&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;19.95,USD&#39;</span>,
+        <span style="color: #BA2121">&#39;popularity&#39;</span><span style="color: #666666">=&gt;1</span>,
+        <span style="color: #BA2121">&#39;inStock&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #008000">false</span>,
+        <span style="color: #BA2121">&#39;store&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;45.18014,-93.87741&#39;</span>,
+        <span style="color: #BA2121">&#39;manufacturedate_dt&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;2005-08-01T16:30:25Z&#39;</span>,
+        <span style="color: #BA2121">&#39;_version_&#39;</span><span style="color: #666666">=&gt;1491038048792608768</span>},
+      {
+        <span style="color: #BA2121">&#39;id&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;MA147LL/A&#39;</span>,
+        <span style="color: #BA2121">&#39;name&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;Apple 60 GB iPod with Video Playback Black&#39;</span>,
+        <span style="color: #BA2121">&#39;manu&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;Apple Computer Inc.&#39;</span>,
+        <span style="color: #BA2121">&#39;manu_id_s&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;apple&#39;</span>,
+        <span style="color: #BA2121">&#39;cat&#39;</span><span style="color: #666666">=&gt;[</span><span style="color: #BA2121">&#39;electronics&#39;</span>,
+          <span style="color: #BA2121">&#39;music&#39;</span><span style="color: #666666">]</span>,
+        <span style="color: #BA2121">&#39;features&#39;</span><span style="color: #666666">=&gt;[</span><span style="color: #BA2121">&#39;iTunes, Podcasts, Audiobooks&#39;</span>,
+          <span style="color: #BA2121">&#39;Stores up to 15,000 songs, 25,000 photos, or 150 hours of video&#39;</span>,
+          <span style="color: #BA2121">&#39;2.5-inch, 320x240 color TFT LCD display with LED backlight&#39;</span>,
+          <span style="color: #BA2121">&#39;Up to 20 hours of battery life&#39;</span>,
+          <span style="color: #BA2121">&#39;Plays AAC, MP3, WAV, AIFF, Audible, Apple Lossless, H.264 video&#39;</span>,
+          <span style="color: #BA2121">&#39;Notes, Calendar, Phone book, Hold button, Date display, Photo wallet, Built-in games, JPEG photo playback, Upgradeable firmware, USB 2.0 compatibility, Playback speed control, Rechargeable capability, Battery level indication&#39;</span><span style="color: #666666">]</span>,
+        <span style="color: #BA2121">&#39;includes&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;earbud headphones, USB cable&#39;</span>,
+        <span style="color: #BA2121">&#39;weight&#39;</span><span style="color: #666666">=&gt;5.5</span>,
+        <span style="color: #BA2121">&#39;price&#39;</span><span style="color: #666666">=&gt;399.0</span>,
+        <span style="color: #BA2121">&#39;price_c&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;399.00,USD&#39;</span>,
+        <span style="color: #BA2121">&#39;popularity&#39;</span><span style="color: #666666">=&gt;10</span>,
+        <span style="color: #BA2121">&#39;inStock&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #008000">true</span>,
+        <span style="color: #BA2121">&#39;store&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;37.7752,-100.0232&#39;</span>,
+        <span style="color: #BA2121">&#39;manufacturedate_dt&#39;</span><span style="color: #666666">=&gt;</span><span style="color: #BA2121">&#39;2005-10-12T08:00:00Z&#39;</span>,
+        <span style="color: #BA2121">&#39;_version_&#39;</span><span style="color: #666666">=&gt;1491038048799948800</span>}<span style="color: #666666">]</span>
+  }}</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1379,15 +1382,15 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java">require <span style="border: 1px solid #FF0000">&#39;</span>net<span style="color: #666666">/</span>http<span style="border: 1px solid #FF0000">&#39;</span>
+<pre class="pygments highlight"><code data-lang="ruby"><span style="color: #008000">require</span> <span style="color: #BA2121">&#39;net/http&#39;</span>
 
-h <span style="color: #666666">=</span> Net<span style="color: #666666">::</span>HTTP<span style="color: #666666">.</span><span style="color: #7D9029">new</span><span style="color: #666666">(</span><span style="border: 1px solid #FF0000">&#39;</span>localhost<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">,</span> <span style="color: #666666">8983)</span>
-http_response <span style="color: #666666">=</span> h<span style="color: #666666">.</span><span style="color: #7D9029">get</span><span style="color: #666666">(</span><span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">/</span>solr<span style="color: #666666">/</span>techproducts<span style="color: #666666">/</span>select<span style="color: #666666">?</span>q<span style="color: #666666">=</span>iPod<span style="color: #666666">&amp;</span>wt<span style="color: #666666">=</span>ruby<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">)</span>
-rsp <span style="color: #666666">=</span> eval<span style="color: #666666">(</span>http_response<span style="color: #666666">.</span><span style="color: #7D9029">body</span><span style="color: #666666">)</span>
-
-puts <span style="border: 1px solid #FF0000">&#39;</span>number of matches <span style="color: #666666">=</span> <span style="border: 1px solid #FF0000">&#39;</span> <span style="color: #666666">+</span> rsp<span style="color: #666666">[</span><span style="border: 1px solid #FF0000">&#39;</span>response<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">][</span><span style="border: 1px solid #FF0000">&#39;</span>numFound<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">].</span><span style="color: #7D9029">to_s</span>
-<span style="border: 1px solid #FF0000">#</span>print out the name field <span style="color: #008000; font-weight: bold">for</span> each returned document
-rsp<span style="color: #666666">[</span><span style="border: 1px solid #FF0000">&#39;</span>response<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">][</span><span style="border: 1px solid #FF0000">&#39;</span>docs<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">].</span><span style="color: #7D9029">each</span> <span style="color: #666666">{</span> <span style="color: #666666">|</span>doc<span style="color: #666666">|</span> puts <span style="border: 1px solid #FF0000">&#39;</span>name field <span style="color: #666666">=</span> <span style="border: 1px solid #FF0000">&#39;</span> <span style="color: #666666">+</span> doc<span style="color: #666666">[</span><span style="border: 1px solid #FF0000">&#39;</span>name<span style="border: 1px solid #FF0000">&#39;</span><span style="color: #666666">]</span> <span style="color: #666666">}</span></code></pre>
+h <span style="color: #666666">=</span> <span style="color: #880000">Net</span><span style="color: #666666">::</span><span style="color: #880000">HTTP</span><span style="color: #666666">.</span>new(<span style="color: #BA2121">&#39;localhost&#39;</span>, <span style="color: #666666">8983</span>)
+http_response <span style="color: #666666">=</span> h<span style="color: #666666">.</span>get(<span style="color: #BA2121">&#39;/solr/techproducts/select?q=iPod&amp;wt=ruby&#39;</span>)
+rsp <span style="color: #666666">=</span> <span style="color: #008000">eval</span>(http_response<span style="color: #666666">.</span>body)
+
+<span style="color: #008000">puts</span> <span style="color: #BA2121">&#39;number of matches = &#39;</span> <span style="color: #666666">+</span> rsp<span style="color: #666666">[</span><span style="color: #BA2121">&#39;response&#39;</span><span style="color: #666666">][</span><span style="color: #BA2121">&#39;numFound&#39;</span><span style="color: #666666">].</span>to_s
+<span style="color: #408080; font-style: italic">#print out the name field for each returned document</span>
+rsp<span style="color: #666666">[</span><span style="color: #BA2121">&#39;response&#39;</span><span style="color: #666666">][</span><span style="color: #BA2121">&#39;docs&#39;</span><span style="color: #666666">].</span>each { <span style="color: #666666">|</span>doc<span style="color: #666666">|</span> <span style="color: #008000">puts</span> <span style="color: #BA2121">&#39;name field = &#39;</span> <span style="color: #666666">+</span> doc<span style="color: #666666">[</span><span style="color: #BA2121">&#39;name&#39;</span><span style="color: #666666">]</span> }</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1429,7 +1432,7 @@ rsp<span style="color: #666666">[</span>
             <div class="row">
                 <div class="col-lg-12 footer">
                &copy;2017 Apache Software Foundation. All rights reserved. <br />
- Site last generated: 2017-05-03 <br />
+ Site last generated: 2017-05-09 <br />
 <p><img src="solr-sunOnly-small.png" alt="Apache Solr"/></p>
                 </div>
             </div>

Modified: websites/production/lucene/content/solr/guide/test-10290/using-solrj.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/using-solrj.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/using-solrj.html Tue May  9 19:22:29 2017
@@ -1288,19 +1288,15 @@ $('#toc').on('click', 'a', function() {
 <div class="paragraph">
 <p><code>SolrClient</code> is abstract, so to connect to a remote Solr instance, you&#8217;ll actually create an instance of either <a href="https://lucene.apache.org/solr/7_0_0//solr-solrj/org/apache/solr/client/solrj/impl/HttpSolrClient.html"><code>HttpSolrClient</code></a>, or <a href="https://lucene.apache.org/solr/7_0_0//solr-solrj/org/apache/solr/client/solrj/impl/CloudSolrClient.html"><code>CloudSolrClient</code></a>. Both communicate with Solr via HTTP, the difference is that <code>HttpSolrClient</code> is configured using an explicit Solr URL, while <code>CloudSolrClient</code> is configured using the zkHost String for a <a href="solrcloud.html#solrcloud">SolrCloud</a> cluster.</p>
 </div>
-<div class="paragraph">
-<p><strong>Single node Solr client</strong></p>
-</div>
 <div class="listingblock">
+<div class="title">Single node Solr client</div>
 <div class="content">
 <pre class="pygments highlight"><code data-lang="java">String urlString <span style="color: #666666">=</span> <span style="color: #BA2121">&quot;http://localhost:8983/solr/techproducts&quot;</span><span style="color: #666666">;</span>
 SolrClient solr <span style="color: #666666">=</span> <span style="color: #008000; font-weight: bold">new</span> HttpSolrClient<span style="color: #666666">.</span><span style="color: #7D9029">Builder</span><span style="color: #666666">(</span>urlString<span style="color: #666666">).</span><span style="color: #7D9029">build</span><span style="color: #666666">();</span></code></pre>
 </div>
 </div>
-<div class="paragraph">
-<p><strong>SolrCloud client</strong></p>
-</div>
 <div class="listingblock">
+<div class="title">SolrCloud client</div>
 <div class="content">
 <pre class="pygments highlight"><code data-lang="java">String zkHostString <span style="color: #666666">=</span> <span style="color: #BA2121">&quot;zkServerA:2181,zkServerB:2181,zkServerC:2181/solr&quot;</span><span style="color: #666666">;</span>
 SolrClient solr <span style="color: #666666">=</span> <span style="color: #008000; font-weight: bold">new</span> CloudSolrClient<span style="color: #666666">.</span><span style="color: #7D9029">Builder</span><span style="color: #666666">().</span><span style="color: #7D9029">withZkHost</span><span style="color: #666666">(</span>zkHostString<span style="color: #666666">).</span><span style="color: #7D9029">build</span><span style="color: #666666">();</span></code></pre>
@@ -1495,7 +1491,7 @@ solr<span style="color: #666666">.</span
             <div class="row">
                 <div class="col-lg-12 footer">
                &copy;2017 Apache Software Foundation. All rights reserved. <br />
- Site last generated: 2017-05-03 <br />
+ Site last generated: 2017-05-09 <br />
 <p><img src="solr-sunOnly-small.png" alt="Apache Solr"/></p>
                 </div>
             </div>

Modified: websites/production/lucene/content/solr/guide/test-10290/using-the-solr-administration-user-interface.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/using-the-solr-administration-user-interface.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/using-the-solr-administration-user-interface.html Tue May  9 19:22:29 2017
@@ -1388,7 +1388,7 @@ $('#toc').on('click', 'a', function() {
             <div class="row">
                 <div class="col-lg-12 footer">
                &copy;2017 Apache Software Foundation. All rights reserved. <br />
- Site last generated: 2017-05-03 <br />
+ Site last generated: 2017-05-09 <br />
 <p><img src="solr-sunOnly-small.png" alt="Apache Solr"/></p>
                 </div>
             </div>

Modified: websites/production/lucene/content/solr/guide/test-10290/using-zookeeper-to-manage-configuration-files.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/using-zookeeper-to-manage-configuration-files.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/using-zookeeper-to-manage-configuration-files.html Tue May  9 19:22:29 2017
@@ -1280,7 +1280,10 @@ $('#toc').on('click', 'a', function() {
   <div id="preamble">
 <div class="sectionbody">
 <div class="paragraph">
-<p>With SolrCloud your configuration files are kept in ZooKeeper. These files are uploaded in either of the following cases:</p>
+<p>With SolrCloud your configuration files are kept in ZooKeeper.</p>
+</div>
+<div class="paragraph">
+<p>These files are uploaded in either of the following cases:</p>
 </div>
 <div class="ulist">
 <ul>
@@ -1342,7 +1345,7 @@ $('#toc').on('click', 'a', function() {
 </div>
 </div>
 <div class="sect1">
-<h2 id="UsingZooKeepertoManageConfigurationFiles-UploadingConfigurationFilesusingbin_solrorSolrJ">Uploading Configuration Files using bin/solr or SolrJ</h2>
+<h2 id="UsingZooKeepertoManageConfigurationFiles-UploadingConfigurationFilesusingbin_solrorSolrJ">Uploading Configuration Files using <code>bin/solr</code> or SolrJ</h2>
 <div class="sectionbody">
 <div class="paragraph">
 <p>In production situations, <a href="config-sets.html#config-sets">Config Sets</a> can also be uploaded to ZooKeeper independent of collection creation using either Solr&#8217;s <a href="solr-control-script-reference.html#solr-control-script-reference">Solr Control Script</a> or the <a href="https://lucene.apache.org/solr/7_0_0//solr-solrj/org/apache/solr/client/solrj/impl/CloudSolrClient.html">CloudSolrClient.uploadConfig</a> java method.</p>
@@ -1352,7 +1355,7 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java">$  bin<span style="color: #666666">/</span>solr zk upconfig <span style="color: #666666">-</span>n <span style="color: #666666">&lt;</span>name <span style="color: #008000; font-weight: bold">for</span> configset<span style="color: #666666">&gt;</span> <span style="color: #666666">-</span>d <span style="color: #666666">&lt;</span>path to directory with configset<span style="color: #666666">&gt;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="text">$ bin/solr zk upconfig -n &lt;name for configset&gt; -d &lt;path to directory with configset&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1391,10 +1394,10 @@ $('#toc').on('click', 'a', function() {
 <h2 id="UsingZooKeepertoManageConfigurationFiles-PreparingZooKeeperbeforefirstclusterstart">Preparing ZooKeeper before first cluster start</h2>
 <div class="sectionbody">
 <div class="paragraph">
-<p>If you will share the same ZooKeeper instance with other applications you should use a <em>chroot</em> in ZooKeeper. Please see <a href="taking-solr-to-production.html#TakingSolrtoProduction-ZooKeeperchroot">Taking Solr to Production#ZooKeeperchroot</a> for instructions.</p>
+<p>If you will share the same ZooKeeper instance with other applications you should use a <em>chroot</em> in ZooKeeper. Please see <a href="taking-solr-to-production.html#TakingSolrtoProduction-ZooKeeperchroot">ZooKeeper chroot</a> for instructions.</p>
 </div>
 <div class="paragraph">
-<p>There are certain configuration files containing cluster wide configuration. Since some of these are crucial for the cluster to function properly, you may need to upload such files to ZooKeeper before starting your Solr cluster for the first time. Examples of such configuration files (not exhaustive) are <code>solr.xml</code>, <code>security.json `and `clusterprops.json</code>.</p>
+<p>There are certain configuration files containing cluster wide configuration. Since some of these are crucial for the cluster to function properly, you may need to upload such files to ZooKeeper before starting your Solr cluster for the first time. Examples of such configuration files (not exhaustive) are <code>solr.xml</code>, <code>security.json</code> and <code>clusterprops.json</code>.</p>
 </div>
 <div class="paragraph">
 <p>If you for example would like to keep your <code>solr.xml</code> in ZooKeeper to avoid having to copy it to every node&#8217;s <code>solr_home</code> directory, you can push it to ZooKeeper with the bin/solr utility (Unix example):</p>
@@ -1442,7 +1445,7 @@ $('#toc').on('click', 'a', function() {
             <div class="row">
                 <div class="col-lg-12 footer">
                &copy;2017 Apache Software Foundation. All rights reserved. <br />
- Site last generated: 2017-05-03 <br />
+ Site last generated: 2017-05-09 <br />
 <p><img src="solr-sunOnly-small.png" alt="Apache Solr"/></p>
                 </div>
             </div>