Otis, Thanks for getting back...I did have to restart for the
schema/config changes to take effect which I'd guessed. : )

I am using the SpellCheckComponent and following the directions on the
wiki. It says to do a set it up using the component AND the RequestHandler.
> http://wiki.apache.org/solr/SpellCheckComponent

I still don't get any suggestions when I do
/spellCheckCompRH?q=helultrashar&spellcheck=true&spellcheck.collate=true

What I do get is:

<response>
 <lst name="responseHeader">
  <int name="status">0</int>
  <int name="QTime">30</int>
 </lst>
<result name="response" numFound="0" start="0"/>
 <lst name="spellcheck">
 <lst name="suggestions"/>
 </lst>
</response>

I see the current time stamp when I ask to do a build so something is
happening...just not sure why I'm not getting the proper result.

When I add &spellcheck.extendedResults=true to the URL I get a response:

<response>
 <lst name="responseHeader">
  <int name="status">0</int>
  <int name="QTime">2</int>
 </lst>
<result name="response" numFound="0" start="0"/>
  <lst name="spellcheck">
  <lst name="suggestions">
   <bool name="correctlySpelled">true</bool>
  </lst>
  </lst>
</response>

Any ideas folks?

~

Otis Gospodnetic wrote:
> Hi,
> 
> The $SOLR_URL/solr/biblio/ looks suspicious.  Should that be $SOLR_URL/solr/ ?
> Also note that you are using the old SpellCheck RequestHandler, and we not 
> have a SpellCheckComponent - http://wiki.apache.org/solr/SpellCheckComponent
> 
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
> 
> 
> 
> ----- Original Message ----
>> From: Anoop Atre <anoop.a...@mnsu.edu>
>> To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
>> Sent: Monday, March 30, 2009 2:58:58 PM
>> Subject: Spelling Component
>>
>> Hi all, I'm new to Solr and have been reading up as much as possible,
>> especially about implementing the spellcheck feature.
>>
>> The instructions I'm looking at are on the following links:
>>> http://wiki.apache.org/solr/SpellCheckComponent
>>> http://snipurl.com/elxmr [vufind tech list]
>> Error I get when I try to build the index using
>> $SOLR_URL/solr/biblio/spellCheckCompRH?q=*:*&spellcheck.q=hell&spellcheck=true&spellcheck.build=true
>>
>>   NOT_FOUND
>>   RequestURI=/solr/biblio/spellCheckCompRH
>>   Powered by Jetty://

Reply via email to