Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipelining redisearch with redis commands #134

Open
logic-and-math opened this issue Jul 7, 2021 · 1 comment
Open

Pipelining redisearch with redis commands #134

logic-and-math opened this issue Jul 7, 2021 · 1 comment

Comments

@logic-and-math
Copy link

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

@abrookins
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants