title: how do I get a document from elasticsearch only by id from all the index
body: <p>i have a project in python where i need to get a document from one of for <strong>indexes index_1 2 3 or 4</strong> but i only have the id and in the near future i will have 4 more idexe so <strong>8</strong> in total i can't afford to look for the doc in every one of the 8.</p>
  <p>so my question is, is there a way to get the doc directly by the id? if not is there an alternative? thank you very much</p>
  <p>here is what i have until now:</p>
  <pre><code>url = settings.ES_URL+&quot;/{}/_doc/{}?pretty=false&quot;
  url = url.format(index, id)
  r = requests.get(url,auth=HTTPBasicAuth('*****', '*******'))
  </code></pre>
  <p>and i try every index but that's not what i want</p>