Export data from elasticsearch


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