I have the following two sets and I'm trying to intersect them and store the result:
127.0.0.1:6379> smembers out2
1) "judy_1"
127.0.0.1:6379> zrange dateset 0 -1 withscores
1) "judy_4"
2) "118903"
....
19) "judy_1"
20) "137967"
You can see "judy_1" is present in both the set and the zset (w/the associated score of 137967). I want to intersect the "out2" and "dateset" to be left with "judy_1" and score.
I attempt to perform this and store the result in "result", but it's returning an empty set.
127.0.0.1:6379> zinterstore result 2 out2 dataset
(integer) 0
127.0.0.1:6379>
127.0.0.1:6379> smembers result
(empty list or set)
127.0.0.1:6379> zrange result 0 -1
(empty list or set)
Any help is greatly appreciated!