FT.SEARCH Question

Hi community,

I have a Redis server running the redisearch module. The database is being queried by my script.

Is there a way to block all redisearch queries on my database until it has fully indexed itself (e.g., after a server restart) inside redis without modifying my script?

Any help will be useful.