title: What is a ZSET in Redis database?
body: <p>What is a zset in a redis database.
  I have a redis database with some data. In order to get the values </p>
  
  <pre><code>KEYS *apple*
  
  1) "compleet-index:products:apple"
  2) "compleet-index:brands:apple"
  </code></pre>
  
  <p>after to get the key</p>
  
  <pre><code>GET  compleet-index:productos:apple
  </code></pre>
  
  <p>and I had the response</p>
  
  <pre><code>(error) WRONGTYPE Operation against a key holding the wrong kind of value
  </code></pre>
  
  <p>I get the type</p>
  
  <pre><code>TYPE  compleet-index:productos:iphone
  
  zset
  </code></pre>
  
  <p>When I make</p>
  
  <pre><code>DUMP  compleet-index:productos:iphone
  </code></pre>
  
  <p>I obtain an exas codes.</p>