# ES cluster 5.5.0 + rest client api + scroll api

**URL:** <https://discuss.elastic.co/t/es-cluster-5-5-0-rest-client-api-scroll-api/109403>\
**Category:** Elasticsearch\
**Created:** [November 28, 2017, 1:41pm UTC](https://discuss.elastic.co/t/es-cluster-5-5-0-rest-client-api-scroll-api/109403 "2017-11-28T13:41:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shijiebei2009](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shijiebei2009/32/22000_2.png) [@shijiebei2009](https://discuss.elastic.co/u/shijiebei2009)\
**Post date:** [November 28, 2017, 1:41pm UTC](https://discuss.elastic.co/t/es-cluster-5-5-0-rest-client-api-scroll-api/109403/1 "2017-11-28T13:41:40Z")

</div>

The java rest client api 5.5.0 does not support scroll api? am i right?  
and I found java rest client api 5.6.4 support scroll api, can I use rest client 5.6.4 with cluster 5.5.0?  
by the way, my es cluster server is jdk8(es v 5.5.0), and my program client server is jdk7(rest client v 5.6.4), is this ok?

---

<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:** [November 28, 2017, 2:11pm UTC](https://discuss.elastic.co/t/es-cluster-5-5-0-rest-client-api-scroll-api/109403/2 "2017-11-28T14:11:29Z")

</div>

Normally it should work

---

<div class="post-metadata">

**Author:** ![shijiebei2009](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shijiebei2009/32/22000_2.png) [@shijiebei2009](https://discuss.elastic.co/u/shijiebei2009)\
**Post date:** [November 28, 2017, 2:17pm UTC](https://discuss.elastic.co/t/es-cluster-5-5-0-rest-client-api-scroll-api/109403/3 "2017-11-28T14:17:36Z")

</div>

Do you mean the last question's answer is should work?

---

<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:** [November 28, 2017, 2:48pm UTC](https://discuss.elastic.co/t/es-cluster-5-5-0-rest-client-api-scroll-api/109403/4 "2017-11-28T14:48:02Z")

</div>

> Can I use rest client 5.6.4 with cluster 5.5.0?

Yes. It should work.

High Level Rest Client can not work with Java 1.7

---

<div class="post-metadata">

**Author:** ![shijiebei2009](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shijiebei2009/32/22000_2.png) [@shijiebei2009](https://discuss.elastic.co/u/shijiebei2009)\
**Post date:** [November 29, 2017, 2:56am UTC](https://discuss.elastic.co/t/es-cluster-5-5-0-rest-client-api-scroll-api/109403/5 "2017-11-29T02:56:15Z")

</div>

got it, thanks. I feel the rest client api is not stable yet, jest and rest client api which one do you prefer?(Java)

---

<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:** [November 29, 2017, 10:40am UTC](https://discuss.elastic.co/t/es-cluster-5-5-0-rest-client-api-scroll-api/109403/6 "2017-11-29T10:40:01Z")

</div>

I'm biased. I'm working at elastic.

I prefer the official Rest Client because it's constantly updated and its source code is part of the elasticsearch repository. So we're sure it is tested everytime.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 27, 2017, 10:40am UTC](https://discuss.elastic.co/t/es-cluster-5-5-0-rest-client-api-scroll-api/109403/7 "2017-12-27T10:40:14Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
