Am 17.03.2009 um 14:39 schrieb Shyamsunder Reddy:

I have the same question in mind. How can I configure the same standard request handler to handle the spell check for given query? I mean instead of calling http://localhost:8983/solr/spellCheckCompRH?q=*:*&spellcheck.q=globl for spelling checking the following query request
should take care of both querying and spell checking:
http://localhost:8983/solr/select?q=globl

in your solrconfig.xml add the spellchecker component to your standard request handler.

<requestHandler name="standard" class="solr.SearchHandler" default="true">
    <!-- default values for query parameters -->
     <lst name="defaults">
       <str name="echoParams">explicit</str>
       <!--
       <int name="rows">10</int>
       <str name="fl">*</str>
       <str name="version">2.1</str>
        -->
     </lst>
     <arr name="last-components">
       <str>spellcheck</str>
     </arr>
  </requestHandler>


best
Ingo

--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2



Reply via email to