title: Find nested documents by id
body: <p>Elasticsearch has <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-ids-query.html" rel="noreferrer">ids</a> query to find documents by id. 
  I tried to use it in nested query:</p>
  
  <pre><code>{
      "query": {
          "nested": {
             "path": "nestedField",
             "query": {"ids":{ "values": ["nestedDocumentId" ] }},
             "inner_hits" : {}    
          } 
      }
  }
  </code></pre>
  
  <p>But this query looks at parent document id, not at nested.<br>
  Can I use <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-ids-query.html" rel="noreferrer">ids</a> query for finding nested documents by their ids? </p>