Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Elasticsearch Database Exceptionyii\elasticsearch\Exception

Elasticsearch request failed with code 400. Response body:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Result window is too large, from + size must be less than or equal to: [10000] but was [10008]. 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":"tndata-tv","node":"98uhjf0ASYCVl6NG6fyTKQ","reason":{"type":"illegal_argument_exception","reason":"Result window is too large, from + size must be less than or equal to: [10000] but was [10008]. 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: [10000] but was [10008]. 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: [10000] but was [10008]. 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":400}

Error Info: Array
(
    [requestMethod] => GET
    [requestUrl] => http://23.88.102.193:9200/tndata-tv/_search
    [requestBody] => {"size":9,"from":9999,"query":{"function_score":{"query":{"bool":{"must":[],"filter":[{"bool":{"must_not":[{"match_phrase":{"image":"https://www.taufnaus.de/images/box200x200.png"}},{"match_phrase":{"image":""}},{"term":{"sellerid":73}},{"term":{"dontshow":1}}]}},{"range":{"stock":{"gt":0}}}]}},"boost":"5","functions":[{"filter":{"bool":{"must":[{"match_phrase":{"image":"https://www.taufnaus.de/images/box200x200.png"}},{"match_phrase":{"image":""}}]}},"random_score":[],"weight":23},{"filter":{"bool":{"must_not":[{"match_phrase":{"image":"https://www.taufnaus.de/images/box200x200.png"}},{"match_phrase":{"image":""}}]}},"weight":42}],"max_boost":100,"score_mode":"max","boost_mode":"multiply","min_score":0}},"sort":[{"price":"asc"}]}
    [responseCode] => 400
    [responseHeaders] => Array
        (
            [x-elastic-product] => Elasticsearch
            [content-type] => application/json; charset=UTF-8
            [content-length] => 1464
        )

    [responseBody] => Array
        (
            [error] => Array
                (
                    [root_cause] => Array
                        (
                            [0] => Array
                                (
                                    [type] => illegal_argument_exception
                                    [reason] => Result window is too large, from + size must be less than or equal to: [10000] but was [10008]. 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] => 1
                    [failed_shards] => Array
                        (
                            [0] => Array
                                (
                                    [shard] => 0
                                    [index] => tndata-tv
                                    [node] => 98uhjf0ASYCVl6NG6fyTKQ
                                    [reason] => Array
                                        (
                                            [type] => illegal_argument_exception
                                            [reason] => Result window is too large, from + size must be less than or equal to: [10000] but was [10008]. 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] => Array
                        (
                            [type] => illegal_argument_exception
                            [reason] => Result window is too large, from + size must be less than or equal to: [10000] but was [10008]. 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] => Array
                                (
                                    [type] => illegal_argument_exception
                                    [reason] => Result window is too large, from + size must be less than or equal to: [10000] but was [10008]. 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] => 400
        )

)
$_GET = [
    'seller_id' => '85',
    'page' => '1112',
];

$_SESSION = [
    '__flash' => [],
    'sortorder' => 'PRICEASC',
];