title: solr's suggester gives "SolrException: Unknown Search Component: spellcheck at org.apache.solr.core.SolrCore"
body: <p>I tried using Solr's <code>Suggester</code> component but it gives exception <code>Unknown Search Component: spellcheck</code>. I am using solr version 3.6. I made changes in <code>solrconfig.xml</code> so it looks like this</p>
  
  <pre><code>&lt;searchComponent class="solr.SpellCheckComponent" name="suggester"&gt;
   &lt;lst name="spellchecker"&gt;
        &lt;str name="name"&gt;suggester&lt;/str&gt;
        &lt;str name="field"&gt;name&lt;/str&gt;
        &lt;str name="classname"&gt;org.apache.solr.spelling.suggest.Suggester&lt;/str&gt;
        &lt;str name="lookupImpl"&gt;org.apache.solr.spelling.suggest.tst.TSTLookup&lt;/str&gt;
        &lt;float name="threshold"&gt;0.005&lt;/float&gt;
        &lt;str name="buildOnCommit"&gt;true&lt;/str&gt;
        &lt;str name="spellcheckIndexDir"&gt;spellchecker&lt;/str&gt;
   &lt;/lst&gt; 
  &lt;/searchComponent&gt;
  
  &lt;requestHandler class="org.apache.solr.handler.component.SearchHandler" name="/suggester"&gt;
    &lt;lst name="defaults"&gt;
    &lt;str name="spellcheck"&gt;true&lt;/str&gt;
    &lt;str name="spellcheck.dictionary"&gt;suggester&lt;/str&gt;
    &lt;str name="spellcheck.count"&gt;10&lt;/str&gt;
    &lt;/lst&gt;
    &lt;arr name="components"&gt;
    &lt;str&gt;suggester&lt;/str&gt;
    &lt;/arr&gt;
  &lt;/requestHandler&gt;
  </code></pre>
  
  <p>Now i saved it and started solr but it gives a <code>500</code> error. There is a long stack trace which goes like this </p>
  
  <pre><code>HTTP Status 500 - Severe errors in solr configuration. Check your log files for more detailed information on what may be wrong. If you want solr to continue after configuration errors, change: &lt;abortOnConfigurationError&gt;false&lt;/abortOnConfigurationError&gt; in solr.xml ------------------------------------------------------------- org.apache.solr.common.SolrException: No cores were created, please check the logs for errors at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:172) at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:96) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295) at 
  </code></pre>
  
  <p>---lot of lines---</p>
  
  <p>and some more</p>
  
  <pre><code>Caused by: org.apache.solr.common.SolrException: Unknown Search Component: spellcheck at org.apache.solr.core.SolrCore.getSearchComponent(SolrCore.java:893) at org.apache.solr.handler.component.SearchHandler.inform(SearchHandler.java:118) at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:527) at org.apache.solr.core.SolrCore.&lt;init&gt;(SolrCore.java:594) ... 32 more
  </code></pre>
  
  <p>According to the stack trace Solr is not able to find the <code>spellcheck</code> component but according to the Solr wiki this component comes with Solr version > 1.4.</p>