# MultiSearchResponse - containing responses haven't set a scroll id

**URL:** <https://discuss.elastic.co/t/multisearchresponse-containing-responses-havent-set-a-scroll-id/168968>\
**Category:** Elasticsearch\
**Created:** [February 19, 2019, 8:49am UTC](https://discuss.elastic.co/t/multisearchresponse-containing-responses-havent-set-a-scroll-id/168968 "2019-02-19T08:49:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josef\_Fritzer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/josef_fritzer/32/54420_2.png) [@Josef\_Fritzer](https://discuss.elastic.co/u/Josef_Fritzer)\
**Post date:** [February 19, 2019, 8:49am UTC](https://discuss.elastic.co/t/multisearchresponse-containing-responses-havent-set-a-scroll-id/168968/1 "2019-02-19T08:49:23Z")

</div>

Hi Guys,

I'm currently building a MultiSearchRequest which has two requests included and each of them has set a scroll. Everything works fine, request works, request contains two responses as expected but if I try to get the scroll id via response.getScrollId() the method returns for both of them NULL. Could it be that I can't use scroll responses inside a multisearch request? JAVA, elastic 6.6.0

Greetz

---

<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 19, 2019, 8:49am UTC](https://discuss.elastic.co/t/multisearchresponse-containing-responses-havent-set-a-scroll-id/168968/2 "2019-03-19T08:49:29Z")

</div>

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