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

Method get_results

haystack/views.py:83–89  ·  view source on GitHub ↗

Fetches the results via the form. Returns an empty list if there's no query to search with.

(self)

Source from the content-addressed store, hash-verified

81 return ""
82
83 def get_results(self):
84 """
85 Fetches the results via the form.
86
87 Returns an empty list if there's no query to search with.
88 """
89 return self.form.search()
90
91 def build_page(self):
92 """

Callers 14

__call__Method · 0.95
test_empty_resultsMethod · 0.95
_fill_cacheMethod · 0.45
test_more_like_thisMethod · 0.45
test_runMethod · 0.45
test_log_queryMethod · 0.45
test_empty_resultsMethod · 0.45
test_log_queryMethod · 0.45
test_log_queryMethod · 0.45
test_log_queryMethod · 0.45
test_altparser_queryMethod · 0.45
test_raw_queryMethod · 0.45

Calls 1

searchMethod · 0.45

Tested by 12

test_empty_resultsMethod · 0.76
test_more_like_thisMethod · 0.36
test_runMethod · 0.36
test_log_queryMethod · 0.36
test_empty_resultsMethod · 0.36
test_log_queryMethod · 0.36
test_log_queryMethod · 0.36
test_log_queryMethod · 0.36
test_altparser_queryMethod · 0.36
test_raw_queryMethod · 0.36
test_log_queryMethod · 0.36
test_log_queryMethod · 0.36