Spatial: Adds a bounding box search to the query.
(self, field, point_1, point_2)
| 404 | return clone |
| 405 | |
| 406 | def within(self, field, point_1, point_2): |
| 407 | """Spatial: Adds a bounding box search to the query.""" |
| 408 | clone = self._clone() |
| 409 | clone.query.add_within(field, point_1, point_2) |
| 410 | return clone |
| 411 | |
| 412 | def dwithin(self, field, point, distance): |
| 413 | """Spatial: Adds a distance-based search to the query.""" |