I haven't actually used this in a while, but are you asking the handler for 
spellchecking (q=pizzza) or are you asking it to rebuild the index 
(cmd=rebuild)?  Asking for both at the same time might not be the best thing.


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch


----- Original Message ----
> From: oleg_gnatovskiy <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Monday, May 19, 2008 9:01:14 PM
> Subject: Problem getting spelling suggestions to work
> 
> 
> Hello. I am having some trouble getting spelling suggestions to work. I am
> running the latest nightly build of Solr. The URL I am hitting is:
> 
> http://localhost:8983/solr/select/?q=pizzza&qt=spellchecker&cmd=rebuild
> 
> and the response I am getting is 
> 
> 
> 
>     
> 0
> 14
> 
>     
> rebuild
> pizzza
> spellchecker
> 
> 
> 
> 
> 
> Which is obviously missing the suggestions field. The reason for that is
> likely that I overrode the default definition of /select. My /select is
> defined in the following way:
> 
> 
> class="org.apache.solr.handler.component.SearchHandler">
>     
>       explicit
>     
>     
>       collapse
>       facet
>       mlt
>       highlight
>       debug
>     
>   
> The reason I am doing this, is that I want to replace the query component
> with the collapse component.
> 
> Am I missing something that would make the qt parameter work? Any help would
> be appreciated.
> -- 
> View this message in context: 
> http://www.nabble.com/Problem-getting-spelling-suggestions-to-work-tp17331252p17331252.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to