Result window is too large

  • rvs
    Participant
    # 2 years, 1 month ago

    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
    # 2 years ago

    “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
    # 1 year, 11 months ago

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

    wpsolr
    Keymaster
    # 1 year, 11 months ago

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

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

You must be logged in to reply to this topic.