-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to retrieve spelling suggestions in the serializer? #84
Comments
Hi. |
Any chance there is an update on this? |
Hi, |
Any news on this? |
@rhblind any pointer? I am also looking for same, if you are busy I can add it. please share if you have already done an analysis of it. |
@jpatel3 have you made any progress on this implementation? |
@pymarco I was using ListAPIView, so I did override on list method to add a suggestion in it if any.
Where suggestion is spelling Hope it helps! |
Hello guys. I did start working on this, but didn't get very far. I started by adding this as a filter feature, but I think that's going down the wrong path. I quickly ran into issues where spelling suggestions duplicated themselves (probably because of stacked filters or something), and didn't have any more time investigating. If anybody find a clean and generic way of implementing this, I'm always open of merging pull requests! |
I would like to return spelling suggestions in my serializer. How would I do that? Thanks
Haystack method: http://django-haystack.readthedocs.io/en/latest/searchqueryset_api.html?#SearchQuerySet.spelling_suggestion
The text was updated successfully, but these errors were encountered: