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

Method distance

haystack/manager.py:54–55  ·  view source on GitHub ↗
(self, field, point)

Source from the content-addressed store, hash-verified

52 return self.get_search_queryset().dwithin(field, point, distance)
53
54 def distance(self, field, point):
55 return self.get_search_queryset().distance(field, point)
56
57 def date_facet(self, field, start_date, end_date, gap_by, gap_amount=1):
58 return self.get_search_queryset().date_facet(

Callers

nothing calls this directly

Calls 1

get_search_querysetMethod · 0.95

Tested by

no test coverage detected