title: Redis Support on Secondary index
body: <p>Does redis provide support for secondary index on string data type?</p>
  
  <p>I have installed redis server to check that, but could not find out clearly to do this.</p>
  
  <p>I would like to know how i can store the data in redis along with seconday key. </p>
  
  <p>Example let say i want to store thevehicle id:- registration no, in my case this will be primary key, vehicle color:- Red, this could be secondary key and payload related to vehicle info is my value. Now, I also want to find all payload whose color is red in redis.</p>
  
  <p>Same as like i can do in MySql like</p>
  
  <p>Select * from table where secondarycolumn="red"</p>
  
  <p>Also, I would like to know while setting value in redis using primary key, how can i set the secondary index value for it.</p>