Does redis provide support for secondary index on string data type?
I would like to know how i can store the data in redis along with seconday key.
Example let say i want to store the entity with key value as 'id:<some_string>' and it's payload as a compressed json string. but sometimes i need to search the payload with another value in json which might also be unique.
Like, sql query i can able to query with other field in JSON apart from key?
Also, I would like to know while setting value in redis using primary key, how can i set the secondary index value for it.