RediSearch - Redis Secondary Index & Query Engine
docker run -p 6379:6379 redislabs/redisearch:latestredisearch-py - Python client for RediSearch
pip3 install redisearchFlask - Web Framework
pip3 install -U FlaskConnect to redis-cli
docker exec -it REDIS_CONTAINER /bin/bashroot@ee2797135b20:/data# redis-cliCreate the "userIndx" index in Redis
127.0.0.1:6379> FT.CREATE userIndx ON HASH PREFIX 1 user: SCHEMA username TEXT WEIGHT 5.0 name TEXT age NUMERICStart flask server, running by default on http://localhost:5000
python3 server.pyBy now, you should be able to add and search users in the web app.