How do you access/configure summaries/snippets in Django Haystack

Posted by mlissner on Stack Overflow See other posts from Stack Overflow or by mlissner
Published on 2011-11-20T01:45:49Z Indexed on 2011/11/20 1:51 UTC
Read the original article Hit count: 441

Filed under:
|

I'm working on getting django-haystack set up on my site, and am trying to have snippets in my search results roughly like so:

Title of result one about Wikis
...this special thing about wiki values is that...I always use a wiki when I walk...snippet value three talks about wikis too...and here's another snippet value about wikis.

I know there's a template tag for highlighting, but how do you generate the snippets themselves? I know Solr generates these, but I can't figure out how to get them from Haystack.

© Stack Overflow or respective owner

Related posts about django

Related posts about django-haystack