title: Searching in collection of tuple - Cassandra
body: <blockquote>
    <p>Here is my data :-</p>
  </blockquote>
  
  <pre><code>CREATE TABLE collect_things(k int PRIMARY KEY,n set&lt;frozen&lt;tuple&lt;text, text&gt;&gt;&gt;);
  
  INSERT INTO collect_things (k, n) VALUES(1, {('hello', 'cassandra')});
  
  CREATE INDEX n_index  ON collect_things  (n);
  </code></pre>
  
  <blockquote>
    <p>Now I have to query like this :-</p>
  </blockquote>
  
  <pre><code>SELECT * FROM collect_things WHERE n contains ('cassandra')  ALLOW FILTERING ;
  </code></pre>
  
  <blockquote>
    <p>Output :-</p>
  </blockquote>
  
  <pre><code> k | n
  ---+---------
  </code></pre>
  
  <blockquote>
    <p>Expected output :-</p>
  </blockquote>
  
  <pre><code>k | n
  ---+---------
   1 | {('hello', 'cassandra')}
  </code></pre>
  
  <p>I want to fetch my data with 'cassandra' value . Is this possible ? </p>