RediSearch / redisearch-py

RediSearch python client
https://redisearch.io
BSD 2-Clause "Simplified" License
221 stars 62 forks source link

Is there a batch doc write or async doc write interface in redisearch-py? #175

Closed m3ngyang closed 1 year ago

m3ngyang commented 1 year ago

Hi, guys, I only found hset to write a doc? Is there any batch write or async write to accelerate the process? thanks~

gkorland commented 1 year ago

The way to do it is by using pipeline see: https://github.com/redis/redis-py#pipelines

m3ngyang commented 1 year ago

Oh, thanks. @gkorland I found a case here: https://github.com/redis/redis-py/blob/2cea637b2e936265d2001043d2b2d4e62559dc17/tests/test_search.py#L1641