title: filtering in python for elastic search
body: <p>I am trying to filter out the elastic search query to create a pandas dataframe. I have two columns "type" and "api" in the dataframe on which iam applying filter. When I am applying one column as condition it is working fine..:-</p>
  
  <pre><code>result_dict = es.search(index="logstash-2018.08.11-alias", 
                body={"from": 0, "size": 10000,"query": 
                {"term" : {"type":"vx_apache_json"}}})
  </code></pre>
  
  <p>But when i am applying multiple condition like below :-</p>
  
  <pre><code>result_dict = es.search(index="logstash-2018.08.11-alias", body={"from": 0, "size": 1000,"queries": [
          { "term" : {"type" :"vx_apache_json"}},
          { "term" : {"api" :"viv_signin.php"}}
        ]})
  </code></pre>
  
  <p>I am getting the below error :-</p>
  
  <p>RequestError: RequestError(400, 'parsing_exception', 'Unknown key for a START_ARRAY in [queries].')</p>
  
  <p>Can someone help me here like how i can put multiple filtering in elastic search.</p>