Let me understand the issue... Have you added spellchecking parameters to the /itas mapping in solrconfig.xml? If so, you should be able to do /itas?q=mispeled&wt=xml and see the suggestions in the response. If you've gotten that far you'll be able to navigate to them using the object navigation of $response in the templates.

The output of $response, just to be clear, isn't really JSON, it's a toString() that looks similar though. Or did you convert it to JSON in some other fashion? /itas?q=mispeled&wt=json should also show the spelling suggestions.

        Erik

On Feb 9, 2010, at 7:30 PM, Jan Høydahl / Cominvent wrote:

Hi,

I'm using the /itas requestHandler, and would like to add spell- check suggestions to the output. I'm having spell-check configured and working in the XML response writer, but nothing is output in Velocity. Debugging the JSON $response object, I cannot find any representation of spellcheck response in there.

Where do I plug that in?

--
Jan Høydahl  - search architect
Cominvent AS - www.cominvent.com


Reply via email to