title: How to check Contains in the view key in couch base
body: <p>I have a view like</p>
  
  <pre><code>    function (doc, meta)
      {
      if(doc.Tenant)
      {
      emit([doc.Tenant.Id,doc.Tenant.User.Name],doc);
      }
      }
  </code></pre>
  
  <p>In this view I want all the value belongs to Tenant.Id == 1 and User.Name where Contains "a"</p>
  
  <p>I can search this in my C# by collecting all the Tenant data belongs to particular Tenant Id.
  But I have million of data for each Tenant. So need to check this in the server side itself.
  Is this possible to search.</p>