title: ElasticSearch: How to search for a value in any field, across all types, in one or more indices?
body: <p>I have two indices <code>my_index_1</code> and <code>my_index_2</code>.  Within these indices, I have the following document types:</p>
  
  <p><code>my_index_1</code>:</p>
  
  <ul>
  <li>people</li>
  <li>organizations</li>
  <li>roles</li>
  <li>skills</li>
  </ul>
  
  <p><code>my_index_2</code>:</p>
  
  <ul>
  <li>products</li>
  <li>services</li>
  <li>patents</li>
  <li>trademarks</li>
  <li>servicemarks</li>
  </ul>
  
  <p>Each of the types has different fields.</p>
  
  <p><strong>My Question:</strong> <em>What is the best way to query for the string "abc" in any field of any type, across any one or even both indices?</em></p>
  
  <p>I don't see anything in the documentation that facilitates such a search.  Is there something that might look like:</p>
  
  <pre><code>$ curl -XPOST 'localhost:9200/_search?pretty' -d '
  {
    "query": { "match": { *: "abc" } }
  }'
  </code></pre>
  
  <p>Thanks, in advance, for any help you can offer.</p>