I am trying to set up spellchecker, according to solr documentation. But when
I am testing, I don't have any suggestion. My piece of code follows: 

<searchComponent name="spellcheck" class="solr.SpellCheckComponent">

    <str name="queryAnalyzerFieldType">textSpell</str>

    <lst name="spellchecker">
      <str name="classname">solr.IndexBasedSpellChecker</str>
      <str name="name">default</str>
      <str name="field">name</str>
      <str name="spellcheckIndexDir">./spellchecker</str>
    </lst>
    
</searchComponent>


<requestHandler name="/spellcheck" class="solr.SearchHandler">
    <lst name="defaults">
      <str name="echoParams">explicit</str>
      
      <str name="spellcheck.dictionary">default</str>
      
      <str name="spellcheck.onlyMorePopular">false</str>
      
      <str name="spellcheck.extendedResults">false</str>
      
      <str name="spellcheck.count">1</str>
    </lst>
    <arr name="last-components">
      <str>spellcheck</str>
    </arr>
  </requestHandler>







i build the dictionary as
http://localhost:8983/solr/select/?q=*:*&spellcheck=true&spellcheck.build=true


but when i run the query i am not getting any suggestion
http://localhost:8983/solr/select?q=komputer&spellcheck=true

-----
Thanks & Regards
Romi
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Request-handle-solrconfig-xml-Spellchecker-tp3085053p3085053.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to