Django Haystack highlighted text with normal objects
===

    def sahis_sorgula(request):
       q = q = request.POST.get('que')
       results = SearchQuerySet().filter(content=q).models(Documents)
    
       res = serializers.serialize("json", [a.object for a in results])
                              
       return HttpResponse(res, mimetype = "application/json")



with this code i can get json result without problem. in addition to this can i take highlighted text in json file with all objects...?




highlighted version of the result: 

    sqs = SearchQuerySet().filter(content='foo').highlight()
    result = sqs[0]
    result.highlighted['text'][0] # u'Two computer scientists walk into a bar. The 
                                     bartender says "<em>Foo</em>!".'





