Adds faceting to a query for the provided field.
(self, field, **options)
| 398 | return clone |
| 399 | |
| 400 | def facet(self, field, **options): |
| 401 | """Adds faceting to a query for the provided field.""" |
| 402 | clone = self._clone() |
| 403 | clone.query.add_field_facet(field, **options) |
| 404 | return clone |
| 405 | |
| 406 | def within(self, field, point_1, point_2): |
| 407 | """Spatial: Adds a bounding box search to the query.""" |