'Allows specifying a different class to use for results.
Overrides any previous usages. If ``None`` is provided, Haystack will
revert back to the default ``SearchResult`` object.'

def result_class(self, klass):

    clone = self._clone()
    clone.query.set_result_class(klass)
    return clone
