Allows switching which connection the ``SearchQuerySet`` uses to search in.
(self, connection_name)
| 508 | return clone.filter(reduce(operator.__and__, query_bits)) |
| 509 | |
| 510 | def using(self, connection_name): |
| 511 | """ |
| 512 | Allows switching which connection the ``SearchQuerySet`` uses to |
| 513 | search in. |
| 514 | """ |
| 515 | clone = self._clone() |
| 516 | clone.query = self.query.using(connection_name) |
| 517 | clone._using = connection_name |
| 518 | return clone |
| 519 | |
| 520 | # Methods that do not return a SearchQuerySet. |
| 521 |