Django-haystack search #hashtag

I really have 0 experience at Haystack, but we use django-haystack for our search. At the moment, the search works fine, but I just added #hashtags to the site, and I would like the search to work somehow differently for hashtag words.

What I have right now:

  • The search results for "pizza" and "#pizza" are the same, I think this happens because the "#" in the search is ignored.

What I want to do:

  • The search results for "#pizza" should only contain the text "#pizza".

I hope someone can help me

+4
source share

All Articles