@dadoonet Sorry for tagging you but I just wanted to confirm this. I found your reply to below saying that _scroll is preferred over search_after for pulling whole dataset. Does it still apply ?
The documentation has not mentioned this clearly.
It still makes sense to me to use _scroll since for search_after I still need to move through the hits to find the sort value in the last document whereas in _scroll I just use the scroll_id for the next batch.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.