I already answered you with:
To extract lot of data in a consistent way, use the scroll API
The error message says it all as well:
See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window]
Is there something unclear?