I am trying to figure out how I can take the result of the ZRANGEBYSCORE command in a sorted set and save the result as a new set in redis, I do not want the data returned to the client. I know that I could read the result in the client, and then click the result as a new set, but I do not want the data to be transferred between the client and server.
Basically I have a sorted set of "A" and a regular set of "B". I want to filter the values ββin a sorted set by running ZRANGEBYSCORE on βAβ and then cross the result with βBβ. Hope this makes sense. I wonder how I can do this
source share