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 [18/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/morelikethis.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/morelikethis.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/morelikethis.html Tue May  9 19:22:29 2017
@@ -1280,10 +1280,19 @@ $('#toc').on('click', 'a', function() {
   <div id="preamble">
 <div class="sectionbody">
 <div class="paragraph">
-<p>The <code>MoreLikeThis</code> search component enables users to query for documents similar to a document in their result list. It does this by using terms from the original document to find similar documents in the index.</p>
+<p>The <code>MoreLikeThis</code> search component enables users to query for documents similar to a document in their result list.</p>
 </div>
 <div class="paragraph">
-<p>There are three ways to use MoreLikeThis. The first, and most common, is to use it as a request handler. In this case, you would send text to the MoreLikeThis request handler as needed (as in when a user clicked on a "similar documents" link). The second is to use it as a search component. This is less desirable since it performs the MoreLikeThis analysis on every document returned. This may slow search results. The final approach is to use it as a request handler but with externally supplied text. This case, also referred to as the MoreLikeThisHandler, will supply information about similar documents in the index based on the text of the input document.</p>
+<p>It does this by using terms from the original document to find similar documents in the index.</p>
+</div>
+<div class="paragraph">
+<p>There are three ways to use MoreLikeThis. The first, and most common, is to use it as a request handler. In this case, you would send text to the MoreLikeThis request handler as needed (as in when a user clicked on a "similar documents" link).</p>
+</div>
+<div class="paragraph">
+<p>The second is to use it as a search component. This is less desirable since it performs the MoreLikeThis analysis on every document returned. This may slow search results.</p>
+</div>
+<div class="paragraph">
+<p>The final approach is to use it as a request handler but with externally supplied text. This case, also referred to as the MoreLikeThisHandler, will supply information about similar documents in the index based on the text of the input document.</p>
 </div>
 </div>
 </div>
@@ -1314,8 +1323,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>
@@ -1362,7 +1371,7 @@ $('#toc').on('click', 'a', function() {
 </tr>
 <tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock">mlt.qf</p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">Query fields and their boosts using the same format as that used by the <a href="https://cwiki.apache.org/confluence/display/solr/The+DisMax+Query+Parser#TheDisMaxQueryParser-Theqf(QueryFields)Parameter">DisMax Query Parser</a>. These fields must also be specified in <code>mlt.fl</code>.</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Query fields and their boosts using the same format as that used by the <a href="the-dismax-query-parser.html#the-dismax-query-parser">DisMax Query Parser</a>. These fields must also be specified in <code>mlt.fl</code>.</p></td>
 </tr>
 </tbody>
 </table>
@@ -1376,8 +1385,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>
@@ -1406,8 +1415,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>
@@ -1436,19 +1445,7 @@ $('#toc').on('click', 'a', function() {
 <h2 id="MoreLikeThis-MoreLikeThisQueryParser">More Like This Query Parser</h2>
 <div class="sectionbody">
 <div class="paragraph">
-<p>The <code>mlt</code> query parser provides a mechanism to retrieve documents similar to a given document, like the handler. More information on the usage of the mlt query parser can be found <a href="other-parsers.html#other-parsers">here</a>.</p>
-</div>
-</div>
-</div>
-<div class="sect1">
-<h2 id="MoreLikeThis-RelatedTopics">Related Topics</h2>
-<div class="sectionbody">
-<div class="ulist">
-<ul>
-<li>
-<p><a href="requesthandlers-and-searchcomponents-in-solrconfig.html#requesthandlers-and-searchcomponents-in-solrconfig">RequestHandlers and SearchComponents in SolrConfig</a></p>
-</li>
-</ul>
+<p>The <code>mlt</code> query parser provides a mechanism to retrieve documents similar to a given document, like the handler. More information on the usage of the mlt query parser can be found int the section <a href="other-parsers.html#other-parsers">Other Parsers</a>.</p>
 </div>
 </div>
 </div>
@@ -1488,7 +1485,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/near-real-time-searching.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/near-real-time-searching.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/near-real-time-searching.html Tue May  9 19:22:29 2017
@@ -1280,10 +1280,16 @@ $('#toc').on('click', 'a', function() {
   <div id="preamble">
 <div class="sectionbody">
 <div class="paragraph">
-<p>Near Real Time (NRT) search means that documents are available for search almost immediately after being indexed: additions and updates to documents are seen in 'near' real time. Solr does not block updates while a commit is in progress. Nor does it wait for background merges to complete before opening a new search of indexes and returning.</p>
+<p>Near Real Time (NRT) search means that documents are available for search almost immediately after being indexed.</p>
 </div>
 <div class="paragraph">
-<p>With NRT, you can modify a <code>commit</code> command to be a <strong>soft commit</strong>, which avoids parts of a standard commit that can be costly. You will still want to do standard commits to ensure that documents are in stable storage, but <strong>soft commits</strong> let you see a very near real time view of the index in the meantime. However, pay special attention to cache and autowarm settings as they can have a significant impact on NRT performance.</p>
+<p>This allows additions and updates to documents to be seen in 'near' real time. Solr does not block updates while a commit is in progress. Nor does it wait for background merges to complete before opening a new search of indexes and returning.</p>
+</div>
+<div class="paragraph">
+<p>With NRT, you can modify a <code>commit</code> command to be a <strong>soft commit</strong>, which avoids parts of a standard commit that can be costly. You will still want to do standard commits to ensure that documents are in stable storage, but <strong>soft commits</strong> let you see a very near real time view of the index in the meantime.</p>
+</div>
+<div class="paragraph">
+<p>However, pay special attention to cache and autowarm settings as they can have a significant impact on NRT performance.</p>
 </div>
 </div>
 </div>
@@ -1304,8 +1310,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>
@@ -1353,9 +1359,9 @@ $('#toc').on('click', 'a', function() {
 <h3 id="NearRealTimeSearching-OptionalAttributesforcommitandoptimize">Optional Attributes for <code>commit</code> and <code>optimize</code></h3>
 <table class="tableblock frame-all grid-all spread">
 <colgroup>
-<col style="width: 34%;">
-<col style="width: 33%;">
-<col style="width: 33%;">
+<col style="width: 20%;">
+<col style="width: 20%;">
+<col style="width: 60%;">
 </colgroup>
 <thead>
 <tr>
@@ -1399,14 +1405,14 @@ $('#toc').on('click', 'a', function() {
 </div>
 </div>
 <div class="sect2">
-<h3 id="NearRealTimeSearching-PassingcommitandcommitWithinparametersaspartoftheURL">Passing <code>commit</code> and <code>commitWithin</code> parameters as part of the URL</h3>
+<h3 id="NearRealTimeSearching-PassingcommitandcommitWithinparametersaspartoftheURL">Passing <code>commit</code> and <code>commitWithin</code> Parameters as Part of the URL</h3>
 <div class="paragraph">
 <p>Update handlers can also get <code>commit</code>-related parameters as part of the update URL. This example adds a small test document and causes an explicit commit to happen immediately afterwards:</p>
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="xml">http://localhost:8983/solr/my_collection/update?stream.body=<span style="color: #008000; font-weight: bold">&lt;add&gt;&lt;doc&gt;</span>
-   <span style="color: #008000; font-weight: bold">&lt;field</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;id&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>testdoc<span style="color: #008000; font-weight: bold">&lt;/field&gt;&lt;/doc&gt;&lt;/add&gt;</span><span style="border: 1px solid #FF0000">&amp;</span>commit=true</code></pre>
+<pre class="pygments highlight"><code data-lang="text">http://localhost:8983/solr/my_collection/update?stream.body=&lt;add&gt;&lt;doc&gt;
+   &lt;field name=&quot;id&quot;&gt;testdoc&lt;/field&gt;&lt;/doc&gt;&lt;/add&gt;&amp;commit=true</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1414,7 +1420,7 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="xml">http://localhost:8983/solr/my_collection/update?stream.body=<span style="color: #008000; font-weight: bold">&lt;optimize/&gt;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="text">http://localhost:8983/solr/my_collection/update?stream.body=&lt;optimize/&gt;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1422,7 +1428,7 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="bash">curl <span style="color: #BA2121">&#39;http://localhost:8983/solr/my_collection/update?optimize=true&amp;maxSegments=10&amp;waitFlush=false&#39;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="text">curl &#39;http://localhost:8983/solr/my_collection/update?optimize=true&amp;maxSegments=10&amp;waitFlush=false&#39;</code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1430,9 +1436,8 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="bash">curl http://localhost:8983/solr/my_collection/update?commitWithin<span style="color: #666666">=10000</span>
-  -H <span style="color: #BA2121">&quot;Content-Type: text/xml&quot;</span> --data-binary
-  <span style="color: #BA2121">&#39;&lt;add&gt;&lt;doc&gt;&lt;field name=&quot;id&quot;&gt;testdoc&lt;/field&gt;&lt;/doc&gt;&lt;/add&gt;&#39;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="text">curl http://localhost:8983/solr/my_collection/update?commitWithin=10000
+  -H &quot;Content-Type: text/xml&quot; --data-binary &#39;&lt;add&gt;&lt;doc&gt;&lt;field name=&quot;id&quot;&gt;testdoc&lt;/field&gt;&lt;/doc&gt;&lt;/add&gt;&#39;</code></pre>
 </div>
 </div>
 </div>
@@ -1490,7 +1495,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>