MCPcopy Create free account
hub / github.com/django-haystack/django-haystack / more_like_this

Method more_like_this

test_haystack/mocks.py:104–107  ·  view source on GitHub ↗
(
        self, model_instance, additional_query_string=None, result_class=None
    )

Source from the content-addressed store, hash-verified

102 }
103
104 def more_like_this(
105 self, model_instance, additional_query_string=None, result_class=None
106 ):
107 return self.search(query_string="*")
108
109
110class CharPKMockSearchBackend(MockSearchBackend):

Callers 15

test_more_like_thisMethod · 0.45
test_more_like_thisMethod · 0.45
test_more_like_thisMethod · 0.45
test_more_like_thisMethod · 0.45
test_all_casesMethod · 0.45
test_more_like_thisMethod · 0.45
test_more_like_thisMethod · 0.45
test_all_casesMethod · 0.45
test_more_like_thisMethod · 0.45
test_more_like_thisMethod · 0.45
test_all_casesMethod · 0.45
test_more_like_thisMethod · 0.45

Calls 1

searchMethod · 0.95

Tested by 15

test_more_like_thisMethod · 0.36
test_more_like_thisMethod · 0.36
test_more_like_thisMethod · 0.36
test_more_like_thisMethod · 0.36
test_all_casesMethod · 0.36
test_more_like_thisMethod · 0.36
test_more_like_thisMethod · 0.36
test_all_casesMethod · 0.36
test_more_like_thisMethod · 0.36
test_more_like_thisMethod · 0.36
test_all_casesMethod · 0.36
test_more_like_thisMethod · 0.36