views:

193

answers:

0

I'm following along with the Solr SpellCheck Component documentation, but can't seem to get this to work.

The spell checking components seems to be running, but Solr is identifying the word as correctly spelled when it's not. How can I fix this?

Example search query results for 'applicatoin' are...

<response>
    <lst name="responseHeader">
        <int name="status">0</int>
        <int name="QTime">0</int>

        <lst name="params">
            <str name="spellcheck">true</str>
            <str name="q">applicatoin</str>
        </lst>
    </lst>

    <result name="response" numFound="0" start="0"/>

    <lst name="spellcheck">

        <lst name="suggestions">
            <bool name="correctlySpelled">true</bool>
        </lst>
    </lst>
</response>

The requestHandler config which is handling this search...

  <requestHandler name="standard" class="solr.SearchHandler" default="true">

     <lst name="defaults">
       <str name="echoParams">explicit</str>

       <str name="spellcheck.extendedResults">true</str>
       <str name="spellcheck.count">1</str>
     </lst>

     <arr name="last-components">
       <str>spellcheck</str>
     </arr>

  </requestHandler>