# Connecting Users With Results in ES 6.5 using Java Rest API

**URL:** <https://discuss.elastic.co/t/connecting-users-with-results-in-es-6-5-using-java-rest-api/168532>\
**Category:** Elasticsearch\
**Created:** [February 15, 2019, 7:05am UTC](https://discuss.elastic.co/t/connecting-users-with-results-in-es-6-5-using-java-rest-api/168532 "2019-02-15T07:05:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shyju\_M](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Shyju\_M](https://discuss.elastic.co/u/Shyju_M)\
**Post date:** [February 15, 2019, 7:05am UTC](https://discuss.elastic.co/t/connecting-users-with-results-in-es-6-5-using-java-rest-api/168532/1 "2019-02-15T07:05:07Z")

</div>

Hi All,

I am trying to return the document id along with the suggestions as suggested in the article [https://www.elastic.co/blog/you-complete-me](https://www.elastic.co/blog/you-complete-me).

but, the payload option is not supported in the current version of ES.

How can achieve the same in the latest version. Kindly suggest

---

<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:** [March 15, 2019, 7:05am UTC](https://discuss.elastic.co/t/connecting-users-with-results-in-es-6-5-using-java-rest-api/168532/2 "2019-03-15T07:05:08Z")

</div>

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