implementing redis to store similarity info