title: How can I scroll the results of a multisearch query in Elasticsearch?
body: <p>I have tried the following two ways to scroll the results of an elasticsearch multisearch query.</p>
  
  <p><strong>Approach #1</strong></p>
  
  <pre><code>curl -XGET "http://localhost:9200/indexname/_msearch?scroll=10m" -d'
  { "type": "parent" }
  {"query": {"match_all": {}}}
  { "type": "child" }
  {"query": {"match_all": {}}}
  '
  </code></pre>
  
  <p><strong>Approach #2</strong></p>
  
  <pre><code>curl -XGET "http://localhost:9200/indexname/_msearch" -d'
  { "type": "parent", "scroll": "10m" }
  {"query": {"match_all": {}}}
  { "type": "child", "scroll": "10m" }
  {"query": {"match_all": {}}}
  '
  </code></pre>
  
  <p>Both approaches don't seem to work, since they don't return a scroll ID in the response. What can I do? What am I doing wrong?
  Thanks in advance. </p>