Spelling corrections

I have created a basic collection that crawls 10 pages. When using the collection from Funnelback the spelling suggestions work and the auto completion works.

When I move the search to my website only the auto completion works.

All of the .js files are working correctly. The Completion program is set to: //siteserver/s/suggest.json and is working, as the autocompletion is working.

There are no console errors.

What am I missing?

Hi @Tara -

Spelling Suggestions are visible only after a query has been submitted and processed. They are a source of suggestions for auto-completion, but you’d mentioned that auto-completion is working as expected.

It’s possible that your template doesn’t have a placeholder to support spelling suggestions if they are present in the underlying data model.

Examine the response from //SITESERVER/s/search.json directly - looking for:

response.resultPacket.spell

The default Freemarker snippet used to render spelling suggestions in the UI looks like:

<@s.CheckSpelling prefix="<h3 id=\"search-spelling\"><span class=\"glyphicon glyphicon-question-sign text-muted\"></span> Did you mean <em>" suffix="</em>?</h3>" />