# Different result between java client api and query dsl?

**URL:** <https://discuss.elastic.co/t/different-result-between-java-client-api-and-query-dsl/85216>\
**Category:** Elasticsearch\
**Created:** [May 10, 2017, 9:29am UTC](https://discuss.elastic.co/t/different-result-between-java-client-api-and-query-dsl/85216 "2017-05-10T09:29:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 10, 2017, 10:14am UTC](https://discuss.elastic.co/t/different-result-between-java-client-api-and-query-dsl/85216/2 "2017-05-10T10:14:11Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

Probably a bug with HEAD plugin as it does not support GET with body.  
Try with POST or use Kibana Dev Console.

---

_[View the full topic](https://discuss.elastic.co/t/different-result-between-java-client-api-and-query-dsl/85216)._
