Can I use both for a single index?

Here is my Solrconfig.xml:
<searchComponent name="spellcheck" 
class="org.apache.solr.handler.component.SpellCheckComponent">
    <lst name="spellchecker">
      <str name="name">default</str>
      <str name="field">spellingShingle</str>
      <str name="accuracy">0.75</str>
      <str name="spellcheckIndexDir">./spellShingle</str>
      <str name="queryAnalyzerFieldType">textSpellShingle</str>
      <str name="buildOnOptimize">true</str>
    </lst>
    <lst name="spellchecker">
      <str name="name">basicSpell</str>
      <str name="field">spelling</str>
      <str name="accuracy">0.75</str>
      <str name="spellcheckIndexDir">./spellchecker</str>
      <str name="queryAnalyzerFieldType">textSpell</str>
      <str name="buildOnOptimize">true</str>
    </lst>
  </searchComponent>

What happens is the SpellShingle suggestions are offered (only if the query 
contains two or more words), but single word misspellings don't get any 
suggestions.  I'm suspicious of the two <lst name="spellchecker"> tags.  I can 
see that both indexes are built, but don't know how to verify that both 
spellcheckers are being called.

Reply via email to