SEARCH.WAITINDEXING to block until all pending index updates are processed and visible to queries.
See Waiting for Indexing for guidance on when to wait for index updates.
The command accepts an index name or alias and waits for every update queued before the command began. Writes that arrive later may require another call.
Syntax
Important points
Response
Returns1 when indexing is complete or 0 if the index was not found.
Examples
Redis CLI
Redis CLI
@upstash/redis
@upstash/redis
upstash_redis
upstash_redis
ioredis
ioredis
node-redis
node-redis
curl
curl