title: How to keep an item unique on single attribute in Redis JSON?
body: <p>I have a redis JSON collection and it must to store items unique.</p>
  <pre><code>[
    {
      &quot;name&quot;: &quot;John&quot;,
      &quot;tId&quot;: 13,
      &quot;phone&quot;: &quot;124&quot;,
      &quot;city&quot;:&quot;LA&quot;
    },
    {
      &quot;name&quot;: &quot;Jane&quot;,
      &quot;tId&quot;: 14,
      &quot;phone&quot;: &quot;256&quot;,
      &quot;city&quot;:&quot;NYC&quot;
    }
  ]
  </code></pre>
  <p>In this JSON, I want to keep name unique. The other attributes can be duplicate. However, all collection must only 1 item with name John or whatever.</p>
  <p>What kind of index do that? Do I need to use RedisBloom?</p>