# "setFrom" and "setSize" from SearchResponse?

**URL:** <https://discuss.elastic.co/t/setfrom-and-setsize-from-searchresponse/112664>\
**Category:** Elasticsearch\
**Created:** [December 20, 2017, 3:20pm UTC](https://discuss.elastic.co/t/setfrom-and-setsize-from-searchresponse/112664 "2017-12-20T15:20:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arth](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@Arth](https://discuss.elastic.co/u/Arth)\
**Post date:** [December 20, 2017, 3:20pm UTC](https://discuss.elastic.co/t/setfrom-and-setsize-from-searchresponse/112664/1 "2017-12-20T15:20:56Z")

</div>

Hi,  
Is it possible to get from SearchResponse the "setFrom" and "setSize" parameters set in SearchRequest ?

Thanks

---

<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:** [December 20, 2017, 4:12pm UTC](https://discuss.elastic.co/t/setfrom-and-setsize-from-searchresponse/112664/2 "2017-12-20T16:12:24Z")

</div>

No you can't.

---

<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:** [January 17, 2018, 4:12pm UTC](https://discuss.elastic.co/t/setfrom-and-setsize-from-searchresponse/112664/3 "2018-01-17T16:12:52Z")

</div>

Closed on January 17, 2018, 4:12pm UTC

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