It seem you forget this
<str name="spellcheck">true</str>


 

 

-----Original Message-----
From: Ruixiang Zhang <rxzh...@gmail.com>
To: solr-user <solr-user@lucene.apache.org>
Sent: Tue, Nov 22, 2011 11:54 am
Subject: spellcheck in dismax


I put the following into dismax requestHandler, but no suggestion field is
returned.

    <lst name="defaults">
      <str name="spellcheck.onlyMorePopular">true</str>
      <str name="spellcheck.extendedResults">false</str>
      <str name="spellcheck.count">1</str>
    </lst>
    <arr name="last-components">
      <str>spellcheck</str>
    </arr>

But everything works if I put it as a separate requestHandler. Did I miss
something?

Thanks
Richard

 

Reply via email to