How to write java code for elasticsearch DSL query
<p>Lets take the following example, </p>

<pre><code>    curl -XGET 'http://localhost:9200/twitter/tweet/_search' -d '{
    "query" : {
        "term" : { "user" : "kimchy" }
    }
  }
</code></pre>

<p>Which libraries can we use in order to get the response back from the end point with those body?</p>

<p>Please take note that , it is not likely that GET request will have body. I am aware of this. </p>