'Adds bounding box parameters to search query.'

def add_within(self, field, point_1, point_2):

    from haystack.utils.geo import ensure_point
    self.within = {u'field': field, u'point_1': ensure_point(point_1), u'point_2': ensure_point(point_2)}
