@tomhe this can happen either if one of the nodes cobtainibg the source indices is restarted while reindex runs or if the underlying scroll search times out. You can try to increase the scroll timeout on the reindex request to see if that helps.
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.