Redisearch concurrency in Lua and Multi-Exec

11 views
Skip to first unread message

Yuriy Mann

unread,
Mar 6, 2020, 3:43:18 AM3/6/20
to RediSearch Discussion Forum
How does Redisearch concurrency work in Lua or Multi-Exec transactions?

This old post suggests that FT.SEARCH was not allowed inside a Lua script in non-safe mode. I tried it now with Redis 5.0.7 + Redisearch 1.6.8 and FT.SEARCH works in both Lua and Multi-Exec. 
Is the concurrency disabled inside a transaction? Or is it "relaxed" somehow? The latter seems to be unlikely because it would invalidate the very semantics of Lua or Multi-Exec transaction. 

Thanks

Meir Shpilraien

unread,
Mar 6, 2020, 8:15:34 AM3/6/20
to RediSearch Discussion Forum
When you are using RediSearch commands from Lua/Multi-Exec those commands are running on the main thread, i.e no concurrency. 
Reply all
Reply to author
Forward
0 new messages