title: OR query in Elastic Search
body: <p>I am trying to perform a query on my elastic search dataset. My goal is to get all record that match any one of the criteria, so basically a bunch of OR's. Here is what my query looks like:</p>
  
  <pre><code>{
    "query" : {
      "filtered" : {
        "query" : {
          "match_all":{}
        }, 
        "filter" : { 
          "or" : [
            {"match" : {"field1" : ["value1", "value1.5"]}}, 
            {"match" : {"field2" : ["value2", "value2.5"]}}, 
            {"match" : {"field3" : ["value3", "value3.5"]}}, 
            {"match" : {"field4" : ["value4", "value4.5"]}}
          ]
        }
      }
    }
  }
  </code></pre>
  
  <p>Field1-Field4 are all stored as arrays in elastic search. I need to get all results where any of the query values match any of the values in the stored array.</p>
  
  <p>And I need to return the result if anything matches between them.
  Can anyone point out what is wrong with this? I am not getting any results when I know they are there. </p>