Fatal Error

  • ali.h@sela.ae
    Participant
    1 month, 1 week ago #31868

    Hello Support,

    we are getting a lot of these errors in our debug.log file, please help.

    PHP Fatal error: Uncaught Elasticsearch\Common\Exceptions\BadRequest400Exception: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”:”Result window is too large, from + size must be less than or equal to: [200000] but was [222700]. 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”:”new_index”,”node”:”IHFDQbRBTN6iW6qhyER8sQ”,”reason”:{“type”:”illegal_argument_exception”,”reason”:”Result window is too large, from + size must be less than or equal to: [200000] but was [222700]. 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.”}}],”caused_by”:{“type”:”illegal_argument_exception”,”reason”:”Result window is too large, from + size must be less than or equal to: [20 in /home/417104.cloudwaysapps.com/vtnyfdpevz/public_html/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php on line 693

    wpsolr
    Keymaster
    1 month, 1 week ago #31871

    This is a limitation of Elasticsearch during pagination when too many results are displayed.

    Try to increase the Elasticsearch parameter index.max_result_window to a bigger value than 200000: https://github.com/elastic/elasticsearch-js/issues/1323

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.