# Search from vs scroll

**URL:** <https://discuss.elastic.co/t/search-from-vs-scroll/166869>\
**Category:** Elasticsearch\
**Created:** [February 3, 2019, 2:56pm UTC](https://discuss.elastic.co/t/search-from-vs-scroll/166869 "2019-02-03T14:56:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lshraga](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@lshraga](https://discuss.elastic.co/u/lshraga)\
**Post date:** [February 3, 2019, 2:56pm UTC](https://discuss.elastic.co/t/search-from-vs-scroll/166869/1 "2019-02-03T14:56:06Z")

</div>

Hi,

I have a use case which our customers wants to get the data in chunks.  
Currently, I have 2 APIs for that purpose: one which use scroll from & size and second api which is scroll with sort of \_doc, and I would like to delete one of them and let the user to use only one of them.  
so, I wonder 1. which api is more efficient from performance perspective?  
and again, please note that one of the api use scroll with sort of \_doc.  
2. Is there any ability in scroll that search from doesn't have?

Thanks,  
Liel

---

<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 3, 2019, 2:56pm UTC](https://discuss.elastic.co/t/search-from-vs-scroll/166869/2 "2019-03-03T14:56:10Z")

</div>

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