RediSearch / redisearch-py

RediSearch python client

Home Page:https://redisearch.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pipelining redisearch with redis commands

logic-and-math opened this issue · comments

Is there a way to have redis-py commands and redisearch-py commands in the same pipeline?

@logic-and-math Not at this time, I'm afraid! The current design of this library expects to always be running in immediate execution mode. It won't work if you pass in a Pipeline object as the conn parameter to redisearch.Client.__init__(), because the search() method tries to parse the result immediately.

We'll need to take a look at changing this to support pipelines!