Creates a pipeline for the SEARCH module, that can be used for executing SEARCH commands, as well as classic core commands.
(self, transaction=True, shard_hint=None)
| 100 | self._init_module_callbacks() |
| 101 | |
| 102 | def pipeline(self, transaction=True, shard_hint=None): |
| 103 | """Creates a pipeline for the SEARCH module, that can be used for executing |
| 104 | SEARCH commands, as well as classic core commands. |
| 105 | """ |
| 106 | p = Pipeline( |
| 107 | connection_pool=self.client.connection_pool, |
| 108 | response_callbacks=self.client.response_callbacks, |
| 109 | transaction=transaction, |
| 110 | shard_hint=shard_hint, |
| 111 | ) |
| 112 | p.index_name = self.index_name |
| 113 | return p |
| 114 | |
| 115 | |
| 116 | class AsyncSearch(Search, AsyncSearchCommands): |
no test coverage detected