lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctarg...@apache.org
Subject svn commit: r1011953 [27/32] - in /websites/production/lucene/content/solr/guide/test-10290: ./ fonts/mplus1mn/ images/a-quick-overview/ images/other-parsers/
Date Tue, 09 May 2017 19:22:32 GMT
Modified: websites/production/lucene/content/solr/guide/test-10290/spell-checking.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/spell-checking.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/spell-checking.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>The SpellCheck component is designed to provide inline query suggestions based on other, similar, terms. The basis for these suggestions can be terms in a field in Solr, externally created text files, or fields in other Lucene indexes.</p>
+<p>The SpellCheck component is designed to provide inline query suggestions based on other, similar, terms.</p>
+</div>
+<div class="paragraph">
+<p>The basis for these suggestions can be terms in a field in Solr, externally created text files, or fields in other Lucene indexes.</p>
 </div>
 </div>
 </div>
@@ -1299,18 +1302,18 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java"><span style="color: #666666">&lt;</span>searchComponent name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellcheck&quot;</span> class<span style="color: #666666">=</span><span style="color: #BA2121">&quot;solr.SpellCheckComponent&quot;</span><span style="color: #666666">&gt;</span>
-  <span style="color: #666666">&lt;</span>lst name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellchecker&quot;</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;classname&quot;</span><span style="color: #666666">&gt;</span>solr<span style="color: #666666">.</span><span style="color: #7D9029">IndexBasedSpellChecker</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellcheckIndexDir&quot;</span><span style="color: #666666">&gt;./</span>spellchecker<span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;field&quot;</span><span style="color: #666666">&gt;</span>content<span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;buildOnCommit&quot;</span><span style="color: #666666">&gt;</span><span style="color: #008000; font-weight: bold">true</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;!--</span> optional elements with defaults
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;distanceMeasure&quot;</span><span style="color: #666666">&gt;</span>org<span style="color: #666666">.</span><span style="color: #7D9029">apache</span><span style="color: #666666">.</span><span style="color: #7D9029">lucene</span><span style="color: #666666">.</span><span style="color: #7D9029">search</span><span style="color: #666666">.</span><span style="color: #7D9029">spell</span><span style="color: #666666">.</span><span style="color: #7D9029">LevensteinDistance</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;accuracy&quot;</span><span style="color: #666666">&gt;0.5&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">--&gt;</span>
- <span style="color: #666666">&lt;/</span>lst<span style="color: #666666">&gt;</span>
-<span style="color: #666666">&lt;/</span>searchComponent<span style="color: #666666">&gt;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;searchComponent</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellcheck&quot;</span> <span style="color: #7D9029">class=</span><span style="color: #BA2121">&quot;solr.SpellCheckComponent&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>
+  <span style="color: #008000; font-weight: bold">&lt;lst</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellchecker&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;classname&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>solr.IndexBasedSpellChecker<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellcheckIndexDir&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>./spellchecker<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;field&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>content<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;buildOnCommit&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>true<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #408080; font-style: italic">&lt;!-- optional elements with defaults</span>
+<span style="color: #408080; font-style: italic">    &lt;str name=&quot;distanceMeasure&quot;&gt;org.apache.lucene.search.spell.LevensteinDistance&lt;/str&gt;</span>
+<span style="color: #408080; font-style: italic">    &lt;str name=&quot;accuracy&quot;&gt;0.5&lt;/str&gt;</span>
+<span style="color: #408080; font-style: italic">    --&gt;</span>
+ <span style="color: #008000; font-weight: bold">&lt;/lst&gt;</span>
+<span style="color: #008000; font-weight: bold">&lt;/searchComponent&gt;</span></code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1330,21 +1333,21 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java"><span style="color: #666666">&lt;</span>searchComponent name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellcheck&quot;</span> class<span style="color: #666666">=</span><span style="color: #BA2121">&quot;solr.SpellCheckComponent&quot;</span><span style="color: #666666">&gt;</span>
-  <span style="color: #666666">&lt;</span>lst name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellchecker&quot;</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;name&quot;</span><span style="color: #666666">&gt;</span><span style="color: #008000; font-weight: bold">default</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;field&quot;</span><span style="color: #666666">&gt;</span>name<span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;classname&quot;</span><span style="color: #666666">&gt;</span>solr<span style="color: #666666">.</span><span style="color: #7D9029">DirectSolrSpellChecker</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;distanceMeasure&quot;</span><span style="color: #666666">&gt;</span>internal<span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span><span style="color: #B00040">float</span> name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;accuracy&quot;</span><span style="color: #666666">&gt;0.5&lt;/</span><span style="color: #B00040">float</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span><span style="color: #B00040">int</span> name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;maxEdits&quot;</span><span style="color: #666666">&gt;2&lt;/</span><span style="color: #B00040">int</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span><span style="color: #B00040">int</span> name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;minPrefix&quot;</span><span style="color: #666666">&gt;1&lt;/</span><span style="color: #B00040">int</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span><span style="color: #B00040">int</span> name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;maxInspections&quot;</span><span style="color: #666666">&gt;5&lt;/</span><span style="color: #B00040">int</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span><span style="color: #B00040">int</span> name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;minQueryLength&quot;</span><span style="color: #666666">&gt;4&lt;/</span><span style="color: #B00040">int</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span><span style="color: #B00040">float</span> name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;maxQueryFrequency&quot;</span><span style="color: #666666">&gt;0.01&lt;/</span><span style="color: #B00040">float</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span><span style="color: #B00040">float</span> name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;thresholdTokenFrequency&quot;</span><span style="color: #666666">&gt;.01&lt;/</span><span style="color: #B00040">float</span><span style="color: #666666">&gt;</span>
-  <span style="color: #666666">&lt;/</span>lst<span style="color: #666666">&gt;</span>
-<span style="color: #666666">&lt;/</span>searchComponent<span style="color: #666666">&gt;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;searchComponent</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellcheck&quot;</span> <span style="color: #7D9029">class=</span><span style="color: #BA2121">&quot;solr.SpellCheckComponent&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>
+  <span style="color: #008000; font-weight: bold">&lt;lst</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellchecker&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;name&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>default<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;field&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>name<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;classname&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>solr.DirectSolrSpellChecker<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;distanceMeasure&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>internal<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;float</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;accuracy&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>0.5<span style="color: #008000; font-weight: bold">&lt;/float&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;int</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;maxEdits&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>2<span style="color: #008000; font-weight: bold">&lt;/int&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;int</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;minPrefix&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>1<span style="color: #008000; font-weight: bold">&lt;/int&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;int</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;maxInspections&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>5<span style="color: #008000; font-weight: bold">&lt;/int&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;int</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;minQueryLength&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>4<span style="color: #008000; font-weight: bold">&lt;/int&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;float</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;maxQueryFrequency&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>0.01<span style="color: #008000; font-weight: bold">&lt;/float&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;float</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;thresholdTokenFrequency&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>.01<span style="color: #008000; font-weight: bold">&lt;/float&gt;</span>
+  <span style="color: #008000; font-weight: bold">&lt;/lst&gt;</span>
+<span style="color: #008000; font-weight: bold">&lt;/searchComponent&gt;</span></code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1370,29 +1373,29 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java"><span style="color: #666666">&lt;</span>searchComponent name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellcheck&quot;</span> class<span style="color: #666666">=</span><span style="color: #BA2121">&quot;solr.SpellCheckComponent&quot;</span><span style="color: #666666">&gt;</span>
-  <span style="color: #666666">&lt;</span>lst name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellchecker&quot;</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;classname&quot;</span><span style="color: #666666">&gt;</span>solr<span style="color: #666666">.</span><span style="color: #7D9029">FileBasedSpellChecker</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;name&quot;</span><span style="color: #666666">&gt;</span>file<span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;sourceLocation&quot;</span><span style="color: #666666">&gt;</span>spellings<span style="color: #666666">.</span><span style="color: #7D9029">txt</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;characterEncoding&quot;</span><span style="color: #666666">&gt;</span>UTF<span style="color: #666666">-8&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellcheckIndexDir&quot;</span><span style="color: #666666">&gt;./</span>spellcheckerFile<span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;!--</span> optional elements with defaults
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;distanceMeasure&quot;</span><span style="color: #666666">&gt;</span>org<span style="color: #666666">.</span><span style="color: #7D9029">apache</span><span style="color: #666666">.</span><span style="color: #7D9029">lucene</span><span style="color: #666666">.</span><span style="color: #7D9029">search</span><span style="color: #666666">.</span><span style="color: #7D9029">spell</span><span style="color: #666666">.</span><span style="color: #7D9029">LevensteinDistance</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;accuracy&quot;</span><span style="color: #666666">&gt;0.5&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">--&gt;</span>
- <span style="color: #666666">&lt;/</span>lst<span style="color: #666666">&gt;</span>
-<span style="color: #666666">&lt;/</span>searchComponent<span style="color: #666666">&gt;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;searchComponent</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellcheck&quot;</span> <span style="color: #7D9029">class=</span><span style="color: #BA2121">&quot;solr.SpellCheckComponent&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>
+  <span style="color: #008000; font-weight: bold">&lt;lst</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellchecker&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;classname&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>solr.FileBasedSpellChecker<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;name&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>file<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;sourceLocation&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>spellings.txt<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;characterEncoding&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>UTF-8<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellcheckIndexDir&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>./spellcheckerFile<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #408080; font-style: italic">&lt;!-- optional elements with defaults</span>
+<span style="color: #408080; font-style: italic">    &lt;str name=&quot;distanceMeasure&quot;&gt;org.apache.lucene.search.spell.LevensteinDistance&lt;/str&gt;</span>
+<span style="color: #408080; font-style: italic">    &lt;str name=&quot;accuracy&quot;&gt;0.5&lt;/str&gt;</span>
+<span style="color: #408080; font-style: italic">    --&gt;</span>
+ <span style="color: #008000; font-weight: bold">&lt;/lst&gt;</span>
+<span style="color: #008000; font-weight: bold">&lt;/searchComponent&gt;</span></code></pre>
 </div>
 </div>
 <div class="paragraph">
 <p>The differences here are the use of the <code>sourceLocation</code> to define the location of the file of terms and the use of <code>characterEncoding</code> to define the encoding of the terms file.</p>
 </div>
-<div class="admonitionblock note">
+<div class="admonitionblock tip">
 <table>
 <tr>
 <td class="icon">
-<i class="fa icon-note" title="Note"></i>
+<i class="fa icon-tip" title="Tip"></i>
 </td>
 <td class="content">
 <div class="paragraph">
@@ -1413,16 +1416,16 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java"><span style="color: #666666">&lt;</span>searchComponent name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellcheck&quot;</span> class<span style="color: #666666">=</span><span style="color: #BA2121">&quot;solr.SpellCheckComponent&quot;</span><span style="color: #666666">&gt;</span>
-  <span style="color: #666666">&lt;</span>lst name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellchecker&quot;</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;name&quot;</span><span style="color: #666666">&gt;</span>wordbreak<span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;classname&quot;</span><span style="color: #666666">&gt;</span>solr<span style="color: #666666">.</span><span style="color: #7D9029">WordBreakSolrSpellChecker</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;field&quot;</span><span style="color: #666666">&gt;</span>lowerfilt<span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;combineWords&quot;</span><span style="color: #666666">&gt;</span><span style="color: #008000; font-weight: bold">true</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;breakWords&quot;</span><span style="color: #666666">&gt;</span><span style="color: #008000; font-weight: bold">true</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span><span style="color: #B00040">int</span> name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;maxChanges&quot;</span><span style="color: #666666">&gt;10&lt;/</span><span style="color: #B00040">int</span><span style="color: #666666">&gt;</span>
-  <span style="color: #666666">&lt;/</span>lst<span style="color: #666666">&gt;</span>
-<span style="color: #666666">&lt;/</span>searchComponent<span style="color: #666666">&gt;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;searchComponent</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellcheck&quot;</span> <span style="color: #7D9029">class=</span><span style="color: #BA2121">&quot;solr.SpellCheckComponent&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>
+  <span style="color: #008000; font-weight: bold">&lt;lst</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellchecker&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;name&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>wordbreak<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;classname&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>solr.WordBreakSolrSpellChecker<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;field&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>lowerfilt<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;combineWords&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>true<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;breakWords&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>true<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;int</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;maxChanges&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>10<span style="color: #008000; font-weight: bold">&lt;/int&gt;</span>
+  <span style="color: #008000; font-weight: bold">&lt;/lst&gt;</span>
+<span style="color: #008000; font-weight: bold">&lt;/searchComponent&gt;</span></code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1440,7 +1443,7 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java"><span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellcheck&quot;</span><span style="color: #666666">&gt;</span><span style="color: #008000; font-weight: bold">true</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellcheck&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>true<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span></code></pre>
 </div>
 </div>
 <div class="paragraph">
@@ -1451,16 +1454,16 @@ $('#toc').on('click', 'a', function() {
 </div>
 <div class="listingblock">
 <div class="content">
-<pre class="pygments highlight"><code data-lang="java"><span style="color: #666666">&lt;</span>requestHandler name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellCheckWithWordbreak&quot;</span> class<span style="color: #666666">=</span><span style="color: #BA2121">&quot;org.apache.solr.handler.component.SearchHandler&quot;</span><span style="color: #666666">&gt;</span>
-  <span style="color: #666666">&lt;</span>lst name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;defaults&quot;</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellcheck.dictionary&quot;</span><span style="color: #666666">&gt;</span><span style="color: #008000; font-weight: bold">default</span><span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellcheck.dictionary&quot;</span><span style="color: #666666">&gt;</span>wordbreak<span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;spellcheck.count&quot;</span><span style="color: #666666">&gt;20&lt;/</span>str<span style="color: #666666">&gt;</span>
-  <span style="color: #666666">&lt;/</span>lst<span style="color: #666666">&gt;</span>
-  <span style="color: #666666">&lt;</span>arr name<span style="color: #666666">=</span><span style="color: #BA2121">&quot;last-components&quot;</span><span style="color: #666666">&gt;</span>
-    <span style="color: #666666">&lt;</span>str<span style="color: #666666">&gt;</span>spellcheck<span style="color: #666666">&lt;/</span>str<span style="color: #666666">&gt;</span>
-  <span style="color: #666666">&lt;/</span>arr<span style="color: #666666">&gt;</span>
-<span style="color: #666666">&lt;/</span>requestHandler<span style="color: #666666">&gt;</span></code></pre>
+<pre class="pygments highlight"><code data-lang="xml"><span style="color: #008000; font-weight: bold">&lt;requestHandler</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellCheckWithWordbreak&quot;</span> <span style="color: #7D9029">class=</span><span style="color: #BA2121">&quot;org.apache.solr.handler.component.SearchHandler&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>
+  <span style="color: #008000; font-weight: bold">&lt;lst</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;defaults&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellcheck.dictionary&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>default<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellcheck.dictionary&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>wordbreak<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;spellcheck.count&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>20<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+  <span style="color: #008000; font-weight: bold">&lt;/lst&gt;</span>
+  <span style="color: #008000; font-weight: bold">&lt;arr</span> <span style="color: #7D9029">name=</span><span style="color: #BA2121">&quot;last-components&quot;</span><span style="color: #008000; font-weight: bold">&gt;</span>
+    <span style="color: #008000; font-weight: bold">&lt;str&gt;</span>spellcheck<span style="color: #008000; font-weight: bold">&lt;/str&gt;</span>
+  <span style="color: #008000; font-weight: bold">&lt;/arr&gt;</span>
+<span style="color: #008000; font-weight: bold">&lt;/requestHandler&gt;</span></code></pre>
 </div>
 </div>
 </div>
@@ -1474,8 +1477,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>
@@ -1557,7 +1560,7 @@ $('#toc').on('click', 'a', function() {
 <td class="tableblock halign-left valign-top"><p class="tableblock">Specifies an accuracy value to help decide whether a result is worthwhile.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#SpellChecking-Thespellcheck.%3CDICT_NAME%3E.keyParameter">spellcheck.&lt;DICT_NAME&gt;.key</a></p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#spellcheck_DICT_NAME">spellcheck.&lt;DICT_NAME&gt;.key</a></p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Specifies a key/value pair for the implementation handling a given dictionary.</p></td>
 </tr>
 </tbody>
@@ -1573,11 +1576,11 @@ $('#toc').on('click', 'a', function() {
 <div class="paragraph">
 <p>This parameter specifies the query to spellcheck. If <code>spellcheck.q</code> is defined, then it is used; otherwise the original input query is used. The <code>spellcheck.q</code> parameter is intended to be the original query, minus any extra markup like field names, boosts, and so on. If the <code>q</code> parameter is specified, then the <code>SpellingQueryConverter</code> class is used to parse it into tokens; otherwise the <a href="tokenizers.html#Tokenizers-WhiteSpaceTokenizer"><code>WhitespaceTokenizer</code></a> is used. The choice of which one to use is up to the application. Essentially, if you have a spelling "ready" version in your application, then it is probably better to use <code>spellcheck.q</code>. Otherwise, if you just want Solr to do the job, use the <code>q</code> parameter.</p>
 </div>
-<div class="admonitionblock important">
+<div class="admonitionblock note">
 <table>
 <tr>
 <td class="icon">
-<i class="fa icon-important" title="Important"></i>
+<i class="fa icon-note" title="Note"></i>
 </td>
 <td class="content">
 <div class="paragraph">
@@ -1641,16 +1644,14 @@ $('#toc').on('click', 'a', function() {
 <div class="paragraph">
 <p>The spellcheck.collate parameter only returns collations that are guaranteed to result in hits if re-queried, even when applying original <code>fq</code> parameters. This is especially helpful when there is more than one correction per query.</p>
 </div>
-<div class="admonitionblock important">
+<div class="admonitionblock note">
 <table>
 <tr>
 <td class="icon">
-<i class="fa icon-important" title="Important"></i>
+<i class="fa icon-note" title="Note"></i>
 </td>
 <td class="content">
-<div class="paragraph">
-<p>This only returns a query to be used. It does not actually run the suggested query.</p>
-</div>
+This only returns a query to be used. It does not actually run the suggested query.
 </td>
 </tr>
 </table>
@@ -1692,7 +1693,7 @@ $('#toc').on('click', 'a', function() {
 <div class="sect2">
 <h3 id="SpellChecking-Thespellcheck.collateParam._ParameterPrefix">The <code>spellcheck.collateParam.*</code> Parameter Prefix</h3>
 <div class="paragraph">
-<p>This parameter prefix can be used to specify any additional parameters that you wish to the Spellchecker to use when internally validating collation queries. For example, even if your regular search results allow for loose matching of one or more query terms via parameters like <code>"q.op=OR</code>&amp;`mm=20%`" you can specify override params such as &#8220;spellcheck.collateParam.q.op=AND&amp;spellcheck.collateParam.mm=100%&#8221; to require that only collations consisting of words that are all found in at least one document may be returned.</p>
+<p>This parameter prefix can be used to specify any additional parameters that you wish to the Spellchecker to use when internally validating collation queries. For example, even if your regular search results allow for loose matching of one or more query terms via parameters like <code>q.op=OR</code> and <code>mm=20%</code> you can specify override params such as <code>spellcheck.collateParam.q.op=AND&amp;spellcheck.collateParam.mm=100%</code> to require that only collations consisting of words that are all found in at least one document may be returned.</p>
 </div>
 </div>
 <div class="sect2">
@@ -1708,7 +1709,7 @@ $('#toc').on('click', 'a', function() {
 </div>
 </div>
 <div class="sect2">
-<h3 id="SpellChecking-Thespellcheck._DICT_NAME_.keyParameter">The <code>spellcheck.&lt;DICT_NAME&gt;.key</code> Parameter</h3>
+<h3 id="spellcheck_DICT_NAME">The <code>spellcheck.&lt;DICT_NAME&gt;.key</code> Parameter</h3>
 <div class="paragraph">
 <p>Specifies a key/value pair for the implementation handling a given dictionary. The value that is passed through is just <code>key=value</code> (<code>spellcheck.&lt;DICT_NAME&gt;.</code> is stripped off.</p>
 </div>
@@ -1719,10 +1720,10 @@ $('#toc').on('click', 'a', function() {
 <div class="sect2">
 <h3 id="SpellChecking-Example">Example</h3>
 <div class="paragraph">
-<p>Using Solr&#8217;s &#8220;bin/solr -e techproducts&#8221; example, this query shows the results of a simple request that defines a query using the <code>spellcheck.q</code> parameter, and forces the collations to require all input terms must match:</p>
+<p>Using Solr&#8217;s <code>bin/solr -e techproducts</code> example, this query shows the results of a simple request that defines a query using the <code>spellcheck.q</code> parameter, and forces the collations to require all input terms must match:</p>
 </div>
 <div class="paragraph">
-<p>` <a href="http://localhost:8983/solr/techproducts/spell?df=text&amp;spellcheck.q=delll+ultra+sharp&amp;spellcheck=true&amp;spellcheck.collateParam.q.op=AND" class="bare">http://localhost:8983/solr/techproducts/spell?df=text&amp;spellcheck.q=delll+ultra+sharp&amp;spellcheck=true&amp;spellcheck.collateParam.q.op=AND</a> `</p>
+<p><code>http://localhost:8983/solr/techproducts/spell?df=text&amp;spellcheck.q=delll+ultra+sharp&amp;spellcheck=true&amp;spellcheck.collateParam.q.op=AND</code></p>
 </div>
 <div class="paragraph">
 <p>Results:</p>
@@ -1781,8 +1782,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>
@@ -1802,7 +1803,12 @@ $('#toc').on('click', 'a', function() {
 </tbody>
 </table>
 <div class="paragraph">
-<p>For example: <code><a href="http://localhost:8983/solr/techproducts/spell?spellcheck=true&amp;spellcheck.build=true&amp;spellcheck.q=toyata&amp;shards.qt=/spell&amp;shards=solr-shard1:8983/solr/techproducts,solr-shard2:8983/solr/techproducts" class="bare">http://localhost:8983/solr/techproducts/spell?spellcheck=true&amp;spellcheck.build=true&amp;spellcheck.q=toyata&amp;shards.qt=/spell&amp;shards=solr-shard1:8983/solr/techproducts,solr-shard2:8983/solr/techproducts</a></code></p>
+<p>For example:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="pygments highlight"><code data-lang="text">http://localhost:8983/solr/techproducts/spell?spellcheck=true&amp;spellcheck.build=true&amp;spellcheck.q=toyata&amp;shards.qt=/spell&amp;shards=solr-shard1:8983/solr/techproducts,solr-shard2:8983/solr/techproducts</code></pre>
+</div>
 </div>
 <div class="paragraph">
 <p>In case of a distributed request to the SpellCheckComponent, the shards are requested for at least five suggestions even if the <code>spellcheck.count</code> parameter value is less than five. Once the suggestions are collected, they are ranked by the configured distance measure (Levenstein Distance by default) and then by aggregate frequency.</p>
@@ -1845,7 +1851,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/stream-screen.html
==============================================================================
--- websites/production/lucene/content/solr/guide/test-10290/stream-screen.html (original)
+++ websites/production/lucene/content/solr/guide/test-10290/stream-screen.html Tue May  9 19:22:29 2017
@@ -1290,6 +1290,7 @@ $('#toc').on('click', 'a', function() {
 <div class="content">
 <img src="images/stream-screen/StreamScreen.png" alt="image" height="400">
 </div>
+<div class="title">Figure 1. Stream Screen with query and results</div>
 </div>
 </div>
 
@@ -1327,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>



Mime
View raw message