I have a little problem with spellcheck! I get suggestions all time even the
word is correct! I use dictionary from file! Here my configuration:
 <requestHandler name="standard" class="solr.SearchHandler" default="true">
    <!-- default values for query parameters -->
     <lst name="defaults">
       <str name="echoParams">explicit</str>
       <str name="spellcheck">true</str>
       <str name="spellcheck.dictionary">file</str>
       <str name="spellcheck.onlyMorePopular">false</str>
       <str name="spellcheck.extendedResults">false</str>      
       <str name="spellcheck.count">1</str>
       <str name="spellcheck.collate">false</str>
     </lst>     
     <arr name="last-components">
      <str>query</str>
      <str>spellcheck</str>
    </arr>
  </requestHandler>

<searchComponent name="spellcheck" class="solr.SpellCheckComponent">    
    <lst name="spellchecker">
      <str name="classname">solr.FileBasedSpellChecker</str>
      <str name="name">file</str>
      <str name="sourceLocation">spellings.txt</str>
      <str name="characterEncoding">UTF-8</str>      
      <str name="spellcheckIndexDir">./spellcheckerFile</str>      
    </lst>    
  </searchComponent>
Can anyone help me?
-- 
View this message in context: 
http://old.nabble.com/spellcheck-all-time-tp27590746p27590746.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to