Open mwomick opened 1 week ago
Can you confirm which version of redisvl you are on? Also can you confirm which command you use to start redis?
@tylerhutcherson Yes, the redisvl version is 0.3.4 and the command to start the Docker is the one found on the website (https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/): docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
.
On SearchIndex.connect(...), I am getting the following message:
The ports are properly redirected to localhost. Redis Insight works and is hosted at localhost:8001 where it was directed.
If I run
It shows
However, if I print the modules (
client.module_list()
) from theredisvl.redis.connection.get_modules
method, I get an empty list.I think it is not connecting at all. The exact same exception and message (redisvl.exceptions.RedisModuleVersionError: Required Redis db module search >= 20600 OR searchlight >= 20600 not installed. See Redis Stack docs at https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/.) occurs if the container is not running.
I have tried connecting in various ways, via
SearchIndex.set_client(redisClient)
and alsoSearchIndex.connect(redis_url="redis://localhost:6379")
.