Fix for WPSOLR only The fix described on this post, involving the index settings, does not seem to work anymore with recent versions of Elasticsearch. As a workaround, we added a new option in WPSOLR’s admin screen 2.1 to set the parameter ‘track_total_hits‘ to ‘true’ for all queries. You can follow the official fix for Result window is too large. The error In this post, we are solving the following Elasticsearch error: "Fatal error: Uncaught Elasticsearch\Common\Exceptions\ServerErrorResponseException: {“error”:{“root_cause”:[{“type”:”query_phase_execution_exception”,”reason”:”Result window is too large, from + size must be less than or equal to: [10000] but was [11328]. 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.”}],”type”:”search_phase_execution_exception”,”reason”:”all shards failed”,”phase”:”query”,”grouped”:true,”failed_shards”:[{“shard”:0,”index”:”xxxxx”,”node”:”xxxxxx”,”reason”:{“type”:”query_phase_execution_exception”,”reason”:”Result window is