# Export data from elasticsearch

**URL:** <https://discuss.elastic.co/t/export-data-from-elasticsearch/29681>\
**Category:** Elasticsearch\
**Created:** [September 21, 2015, 7:58am UTC](https://discuss.elastic.co/t/export-data-from-elasticsearch/29681 "2015-09-21T07:58:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![liorg2](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@liorg2](https://discuss.elastic.co/u/liorg2)\
**Post date:** [September 21, 2015, 7:58am UTC](https://discuss.elastic.co/t/export-data-from-elasticsearch/29681/1 "2015-09-21T07:58:56Z")

</div>

hello,

i have an elasticsearch cluster, and i would like to export part of the data into neo4j, for some graph calculations.  
is there a better way to export than querying ES with paging until the last document?

also, is there any difference between from/size query and scan/scroll ?

thanks a lot

---

<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:** [July 5, 2017, 11:49pm UTC](https://discuss.elastic.co/t/export-data-from-elasticsearch/29681/2 "2017-07-05T23:49:08Z")

</div>


