class_docstr: Create a client for talking to search.
  It abstracts the API of the module and lets you just use the engine.
class_docstr_tok: ["Create","a","client","for","talking","to","search",".","It","abstracts","the","API","of","the","module","and","lets","you","just","use","the","engine","."]
docstr: Creates a pipeline for the SEARCH module, that can be used for executing
  SEARCH commands, as well as classic core commands.
docstr_tok: ["Creates","a","pipeline","for","the","SEARCH","module",",","that","can","be","used","for","executing","SEARCH","commands",",","as","well","as","classic","core","commands","."]
code: def pipeline(self, transaction=True, shard_hint=None):
      """Creates a pipeline for the SEARCH module, that can be used for executing
      SEARCH commands, as well as classic core commands.
      """
      p = Pipeline(
          connection_pool=self.client.connection_pool,
          response_callbacks=self._MODULE_CALLBACKS,
          transaction=transaction,
          shard_hint=shard_hint,
      )
      p.index_name = self.index_name
      return p
  
file_path: catboost/contrib/python/redis/py3/redis/commands/search/__init__.py
imports: import redis
  from ...asyncio.client import Pipeline
  from .commands import AGGREGATE_CMD, CONFIG_CMD, INFO_CMD, PROFILE_CMD, SEARCH_CMD, SPELLCHECK_CMD, SYNDUMP_CMD, AsyncSearchCommands, SearchCommands
label_desc: Use image node_id 2 for calling the Search obj's underlying member method code with example usage: obj.pipeline(transaction, shard_hint) and returns: p