[Django]-Spelling Suggestions with django-haystack and Solr

4👍

I did finally figure this out (with some help from the Haystack message group)

There is some detail here on configuration changes that must be made. In addition, I had to add lines to haystack’s views.py file (under def extra_context):

spelling = self.results.spelling_suggestion(self.query)
return {'suggestion': spelling, . . .

Then I added {{ suggest }} to my output template

👤Ed.

Leave a comment