zkteco-home / redis-windows

Native port of Redis for Windows,it can be installed as service.
MIT License
1.81k stars 162 forks source link

ReJSON compatibility #32

Closed SonahtQ closed 1 year ago

SonahtQ commented 1 year ago

OS: Windows 11 ReJSON: 2.2 compiled by cargo/rust successfully redis-windows 7.0.5 (6.2.6 same problem)

Currently there is no way to run redis windows with ReJSON module. It immediately quits every time, but without ReJSON everything works fine.

// links

https://github.com/RedisJSON/RedisJSON/tree/2.2

zkteco-home commented 1 year ago

can you try to use https://github.com/tporadowski/rejson? i have not 2.2 rejson.dll,can you send it to michael_zkteco@126.com like redisearch and rejson third party,there is a little difficuty on windows platform

chuxu112 commented 1 year ago

I have tried ReJSON several times, if support it will be more perfect

zkteco-home commented 1 year ago

I have tried ReJSON several times, if support it will be more perfect

i didnt understand this,which rejson.dll did you use? i already tested https://github.com/tporadowski/rejson,it works fine i hope you can send me your rejson.dll

chuxu112 commented 1 year ago

I have tried ReJSON several times, if support it will be more perfect

i didnt understand this,which rejson.dll did you use? i already tested https://github.com/tporadowski/rejson,it works fine i hope you can send me your rejson.dll

首先非常感谢您提供这个redis的版本,它确实方便了我的工作 我是在您提供的地址下载的,放在7.0.5这个文件夹里面,然后照常启动redis-server.exe,在redis-cli和Python环境下写入redisjson,报错提示一样 ERR unknown command 'JSON.SET' 启动还是无效,请问还需要什么特殊设置吗?

zkteco-home commented 1 year ago

first you should add this to redis.conf enable-module-command yes loadmodule rejson.dll

then run redis-cli module list working fine image

chuxu112 commented 1 year ago

Thanks!It's already working. I set it on "redis-windows.conf". Then restart "redis-server.exe"

Can I republish it on my Zhihu? image

zkteco-home commented 1 year ago

yes,you can repulish it

zkteco-home commented 1 year ago

on Nov 20,i will release new Redis windows edtion and support https://github.com/RedisJSON/RedisJSON

zkteco-home commented 1 year ago

RedisJson download:

https://github.com/zkteco-home/RedisJson