Questions tagged [redisjson]
117 questions
1
vote
1 answer
How to get a range of elements from an array in Redisjson?
I have a simple array as such :
[1,2,3,4,5]
and I wish to get a range for example from index 2 to index 4.
I can get the last element of the array by :
json.get key .[-1]
However I cannot find anyway to return a specific results without trimming…

Hypothesis
- 1,208
- 3
- 17
- 43
1
vote
2 answers
How to the @ symbol in RediSearch?
I'm using the modules RedisJSON and RediSearch together to perform search queries on JSON data.
Given a json list like this:
{"email": "test1@example.com", "is_checked": 1}
I do:
FT.CREATE myidx ON JSON SCHEMA $.email AS email TAG
FT.SEARCH myidx…

LeMoussel
- 5,290
- 12
- 69
- 122
1
vote
1 answer
REDIS (json and search modules) requirepass causing errors
When no password is set for redis, my webpage works fine, no errors in powershell, it adds keys just fine when i submit information from the website. As soon as i set a password, i start getting a ton of errors such as : SyntaxError: JSON.parse:…

ChristianWagner
- 49
- 9
1
vote
1 answer
How to synchronise data from different modules Redis
I am new to redis and I wanted to know if there was a way to synchronise my data from my redisJson and my redisGraph
For example, I have a user un a hash or a redisJson and I have this same user in my redisGraph
How do I synchronise this user…

William Sabates
- 47
- 5
1
vote
0 answers
How to resolve jsons.map is not a function error in Redis?
I have a simple array as such :
qux > [1,2,3]
upon deleting the array via Client.json.arrPop('qux', '.' , 1) I…

Hypothesis
- 1,208
- 3
- 17
- 43
1
vote
1 answer
Is there support Redis Search and Redis JSON support in redis-py client
Is it perform redis search in redis json in redis-py in current version? If yes please provide some sample code? Thank you in advance

Nikhil Bk B K
- 11
- 2
1
vote
1 answer
How to install RedisJSON on existing RedisLabs instance
I have a (paid) redis-labs instance. how can I use redis-json features on top of it?
Also, can I use normal redis-commands in a redis which has redis-json module installed?

Stav Alfi
- 13,139
- 23
- 99
- 171
1
vote
1 answer
Handing Special JSON characters in REDIS using python
I am trying to write and retrive a JSON with Special characters to REDIS but the special characters are getting converted
The special character Mój is getting converted to Mój and Můj is converted to Můj
from rejson import Client, Path
import…

Debashish Das
- 69
- 1
- 5
1
vote
1 answer
Redis / Rejson nested document hierarchy performance
I'm storing records as json documents, organized into a hierarchy based on record type. The traditional way to store these in Redis is to have something like:
customer:walmart = {...}
customer:target = {...}
order:po123 =…

Devin Burke
- 13,642
- 12
- 55
- 82
1
vote
1 answer
"ReplyError: ERR unkown command 'json.set' ? Using redis rejson, google oauth
Using NodeJS express server to handle GOOGLE oauth via OpenID protocol on the server-side, I am trying to have the callback run this checklist after google redirects the user to the API with the auth code + in query string.
Only allow emails with…

DEVIN PROVENCE
- 13
- 5
1
vote
1 answer
How can i store Json data in Redis?
I want to use Hash of Redis and store a JSON Object in one key and Array in other.
How i can achieve this.
For example when i run this:
redis.hmset(`channel`, 'key1', 'someValue', 'key2', [{x: 1}])
then it gives the error.
But if i change the…

Digvijay Rathore
- 637
- 1
- 6
- 21
1
vote
0 answers
Unable to start server after loading module
I tried to load RedisJSON module using redis.conf as it was said in instruction. So I wrote loadmodule /home/artyom/RedisJSON/src/rejson.so instead of the example with "#" and than my server crashed. I used sudo systemctl status redis and got:
●…
user13271426
1
vote
1 answer
Spring data redis support for modules?
I'm using Spring data Redis (version 2.1.1RELEASE) with the driver of lettuce (version 5.1.3RELEASE)
I want to use this module: https://oss.redislabs.com/redisjson/ but the driver doesn't seem to support it.
I tried use the execute method:
Object…

Yuval
- 764
- 1
- 9
- 23
1
vote
1 answer
Get range of elements from redis using ReJSON
So inside json we have a key called items which actually contain an array of elements, now we can get selective index from that array using JSON.GET employees-list .items[1].
But in our case what we need is to get a range from this array say…

vinit payal
- 1,201
- 2
- 13
- 27
1
vote
1 answer
How to Store Complex Json in Redis using ReJson
I need to store java object (may be json formatted) in Redis. I was searching over internet and found ReJson module.
{
"site": "sddd",
"pConfig" : {
"floatpoint" : "http://10.32.3.36:8003",
"user" : "root",
…

VJS
- 2,891
- 7
- 38
- 70