title: Elasticsearch GET request with request body
body: <p>Isn't it against REST-style approach to pass a request body together with GET request?</p>
  
  <p>For instance to filter some information in Elasticsearch </p>
  
  <pre><code>curl localhost:9200/megacorp/employee/_search -d '{"query" : {"filtered" : {"filter" : {"range" : {"age" : { "gt" : 30 }}},"query" : {"match" : {"last_name" : "smith"}}}}}'
  </code></pre>
  
  <p>some tools are even designed to avoid request body in GET request (like postman)</p>