title: filter '_index' same way as '_type' in search across multiple index query elastic search
body: <p>I have two indexes <strong>index1</strong> and <strong>index2</strong> and both has two types <strong>type1</strong> and <strong>type2</strong> with same name in elastic search.(please assume that we have valid business reason behind it)</p>
  
  <p>I would like to search <strong>index1 - type1</strong> and <strong>index2 -type2</strong></p>
  
  <p><strong>here is my query</strong></p>
  
  <pre><code>POST _search
  {
   "query": {
      "indices": {
        "indices": ["index1","index2"],      
        "query": {
          "filtered":{  
           "query":{
         "multi_match": {
             "query": "test",
             "type": "cross_fields",
             "fields": ["_all"]         
         }
  
          },
           "filter":{  
              "or":{  
                 "filters":[  
                    {  
                       "terms":{ 
                                  "_index":["index1"], // how can i make this work?
                                 "_type": ["type1"]
                       }                      
                    },
                    {  
                       "terms":{ 
                                 "_index":["index2"], // how can i make this work?
                                 "_type": ["type2"]
                       }                      
                    }
                 ]
              }
           }
        }
        },
        "no_match_query":"none"
      }
    }
   }
  </code></pre>