(self)
return additional_fields
Returns a dictionary of all of the fields from the raw result.

        Useful for serializing results. Only returns what was seen from the
        search engine, so it may have extra fields Haystack's indexes aren't
        aware of.
Returns a dictionary of all of the fields from the raw result.
Returns a dictionary of all of the fields from the raw result .
def get_additional_fields(self):
        """
        Returns a dictionary of all of the fields from the raw result.

        Useful for serializing results. Only returns what was seen from the
        search engine, so it may have extra fields Haystack's indexes aren't
        aware of.
        """
        additional_fields = {}

        for fieldname in self._additional_fields:
            additional_fields[fieldname] = getattr(self, fieldname)

        return additional_fields
def get_additional_fields ( self ) : additional_fields = { } for fieldname in self . _additional_fields : additional_fields [ fieldname ] = getattr ( self , fieldname ) return additional_fields