title: Is there a query similar to joins in Elasticsearch?
body: <p>I know its not efficient to use “JOIN” in Elasticsearch, but I need to use it.
  I have to extract values by find same field of index A and index B.
  there is an example below.</p>
  
  <pre><code>A/type1/1
  {
  “serial”:“abc”,
  “member”:“jack”
  }
  
  A/type1/2
  {
  “serial”:“def”,
  “member”:“jack”
  }
  
  B/type2/1
  {
  “serial”:“abc”,
  “temp”:1
  }
  
  B/type3/2
  {
  “serial”:“abc”,
  “water”:0
  }
  
  B/type2/3
  {
  “serial”:“def”,
  “temp”:10
  }
  </code></pre>
  
  <p>I need to filter the value of the ‘member’ field of the A index to find the corresponding <code>serial</code>, and then I want to get the values ​​of the <code>temp</code> and <code>water</code> fields in the B index.
  ex) filter: <code>{“member”:“jack”}</code> ===> <code>temp:1, water:0, temp:10</code></p>
  
  <p>I wonder if I can get this result, and if so, how do i establish the data structure (index structure).</p>