Creates indexes in Redis for use by the Repository#search method.
Does not create a new index for an index that hasn't changed.
Requires that RediSearch and RedisJSON are installed on your instance of Redis.
Returns Promise<void>
dropIndexes
dropIndexes(): Promise<void>
Removes existing indexes from Redis.
Use this method if you want to swap out your indexes because your Entities have changed.
Requires that RediSearch and RedisJSON are installed on your instance of Redis.
Creates indexes in Redis for use by the Repository#search method. Does not create a new index for an index that hasn't changed. Requires that RediSearch and RedisJSON are installed on your instance of Redis.