title: Solr 4.0 How can I change the spellchecker analysers so they are all the same?
body: <p>I've just upgraded from 3.6.1 to 4.0 solr and the spelchecker stopped working. I'm using the standard config /spell request handler to test the spellchecking.</p>
  
  <p>I keep getting the "All checkers need to use the same Analyzer" error. (https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/spelling/ConjunctionSolrSpellChecker.java)</p>
  
  <p>How can I change the spellchecker analysers so they are all the same?</p>
  
  <p>This is the handler I'm using:</p>
  
  <pre><code>  &lt;requestHandler name="/spell" class="solr.SearchHandler" startup="lazy"&gt;
      &lt;lst name="defaults"&gt;
        &lt;str name="df"&gt;text&lt;/str&gt;
        &lt;!-- Solr will use suggestions from both the 'default' spellchecker
             and from the 'wordbreak' spellchecker and combine them.
             collations (re-written queries) can include a combination of
             corrections from both spellcheckers --&gt;
        &lt;str name="spellcheck.dictionary"&gt;default&lt;/str&gt;
        &lt;str name="spellcheck.dictionary"&gt;wordbreak&lt;/str&gt;
        &lt;str name="spellcheck"&gt;on&lt;/str&gt;
        &lt;str name="spellcheck.extendedResults"&gt;true&lt;/str&gt;       
        &lt;str name="spellcheck.count"&gt;10&lt;/str&gt;
        &lt;str name="spellcheck.alternativeTermCount"&gt;5&lt;/str&gt;
        &lt;str name="spellcheck.maxResultsForSuggest"&gt;5&lt;/str&gt;       
        &lt;str name="spellcheck.collate"&gt;true&lt;/str&gt;
        &lt;str name="spellcheck.collateExtendedResults"&gt;true&lt;/str&gt;  
        &lt;str name="spellcheck.maxCollationTries"&gt;10&lt;/str&gt;
        &lt;str name="spellcheck.maxCollations"&gt;5&lt;/str&gt;         
      &lt;/lst&gt;
      &lt;arr name="last-components"&gt;
        &lt;str&gt;spellcheck&lt;/str&gt;
      &lt;/arr&gt;
  &lt;/requestHandler&gt;
  </code></pre>
  
  <p>I know that this is not the way to use it in production.</p>