MCPcopy Index your code
hub / github.com/django-haystack/django-haystack / stats_results

Method stats_results

haystack/query.py:556–564  ·  view source on GitHub ↗

Returns the stats results found by the query.

(self)

Source from the content-addressed store, hash-verified

554 return clone.query.get_facet_counts()
555
556 def stats_results(self):
557 """
558 Returns the stats results found by the query.
559 """
560 if self.query.has_run():
561 return self.query.get_stats()
562 else:
563 clone = self._clone()
564 return clone.query.get_stats()
565
566 def set_spelling_query(self, spelling_query):
567 """Set the exact text to be used to generate spelling suggestions

Callers

nothing calls this directly

Calls 3

_cloneMethod · 0.95
has_runMethod · 0.80
get_statsMethod · 0.80

Tested by

no test coverage detected