title: RavenDB cross entity query matching on non-identifier property
body: <p>I have the following entity collections in RavenDB:</p>
  
  <pre><code>public class EntityA
  {
      public string Id { get; set; }
      public string Name { get; set; }
      public string[] Tags { get; set; }
  }
  
  public class EntityB
  {
      public string Id { get; set; }
      public string Name { get; set; }
      public string[] Tags { get; set; }
  }
  </code></pre>
  
  <p>The only thing shared is the <code>Tags</code> collection: a tag of <code>EntityA</code> may exist in <code>EntityB</code>, so that they may intersect.</p>
  
  <p>How can I retrieve every <code>EntityA</code> that has intersecting tags with <code>EntityB</code> where the <code>Name</code> property of <code>EntityB</code> is equal to a given value?</p>