Result window is too large

  • rvs
    Participant
    3 years, 10 months ago #20036

    Hi

    Is there a setting in wpsolr to remove this error ‘Result window is too large’

    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 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.”}}]},”status”:500} in xxxxxx/public_html/wp-content/plugins/wpsolr-pro/wpsol in /home/185405.cloudwaysapps.com/eyuznfmqse/public_html/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php on line 660

    wpsolr
    Keymaster
    3 years, 10 months ago #20140

    “This limit can be set by changing the [index.max_result_window] index level setting.”

    This is an index parameter to set:
    https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html

    cbarwin
    Participant
    3 years, 9 months ago #20857

    Okay. Not getting that error anymore. Still, the only query WPSOLR is replacing is the actual search page query.

    wpsolr
    Keymaster
    3 years, 9 months ago #21125

    We added a detailed tutorial to solve this issue: https://www.wpsolr.com/fix-elasticsearch-error-result-window-is-too-large/

    wpsolr
    Keymaster
    1 year, 8 months ago #30634

    You can find the official fix for Result window is too large

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

You must be logged in to reply to this topic.