content_type
-
SearchResult.content_type(self)
Returns the content type for the result’s model instance.
get_additional_fields
-
SearchResult.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.
get_stored_fields
-
SearchResult.get_stored_fields(self)
Returns a dictionary of all of the stored fields from the SearchIndex.
Useful for serializing results. Only returns the fields Haystack’s
indexes are aware of as being ‘stored’.