I Got the following kind of data stored on redis
{"
{"userId":"00001","userName":"You","xp":0,"type":"element","honor":500, "position":2}":"2",
"{"userId":"00002", "userName":"Another","xp":0,"type","honor":500,"position":1}":"1"
}
So I need to retrieve the score (or the position value) searching by the userId (Ej: userId : 00001 have to return 1)
I have try with zscore (something like rank:userId (id)) but that not work.
I have search on google but i only found examples with simples (score : value) pairs