I have configured Error Logs for my Elasticsearch cluster, and I see a frequent error below in the logs —
org.elasticsearch.ElasticsearchException$1: Result window is too large, from + size must be less than or equal to:  but was . 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] index level setting.
Click through to understand what the issue is and how you can resolve it.