redisearch-py icon indicating copy to clipboard operation
redisearch-py copied to clipboard

Pipelining redisearch with redis commands

Open logic-and-math opened this issue 4 years ago • 1 comments
trafficstars

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

logic-and-math avatar Jul 07 '21 12:07 logic-and-math

@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!

abrookins avatar Jul 08 '21 18:07 abrookins