title: Elasticsearch search query: nested query with OR-gates & AND-gates
body: <p>I have docs as follow:
  {
  &quot;name&quot;: &quot;...&quot;,
  &quot;country&quot;: &quot;...&quot;,
  }</p>
  <p>I need to find. either one of the following criteria:</p>
  <ul>
  <li>name=John AND country=US</li>
  <li>name=Andy AND country=UK</li>
  </ul>
  <p>How should be write this nested query?</p>