Fatal error: Uncaught Elastica\Exception\ResponseException: Result window is too large, from + size must be less than or equal to: [10000] but was [61240]. 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. [reason: all shards failed] in /home/zeleni/webapps/sidev-greenfriends-systems/public/wp-content/vendor/ruflin/elastica/src/Transport/Http.php:178
Stack trace:
#0 /home/zeleni/webapps/sidev-greenfriends-systems/public/wp-content/vendor/ruflin/elastica/src/Request.php(178): Elastica\Transport\Http->exec()
#1 /home/zeleni/webapps/sidev-greenfriends-systems/public/wp-content/vendor/ruflin/elastica/src/Client.php(513): Elastica\Request->send()
#2 /home/zeleni/webapps/sidev-greenfriends-systems/public/wp-content/vendor/ruflin/elastica/src/Search.php(278): Elastica\Client->request()
#3 /home/zeleni/webapps/sidev-greenfriends-systems/public/wp-content/plugins/srpskapluginscontainer/src/Indexer/Mapper/ElasticBase.php(87): Elastica\Search->search()
#4 /home/zeleni/webapps/sidev-greenfriends-systems/public/wp-content/plugins/srpskapluginscontainer/src/Indexer/Mapper/Article.php(129): GfWpPluginContainer\Indexer\Mapper\ElasticBase->query()
#5 /home/zeleni/webapps/sidev-greenfriends-systems/public/wp-content/plugins/srpskapluginscontainer/src/Indexer/Repository/Article.php(79): GfWpPluginContainer\Indexer\Mapper\Article->searchByType()
#6 /home/zeleni/webapps/sidev-greenfriends-systems/public/wp-content/themes/wptheme/customCategory.php(38): GfWpPluginContainer\Indexer\Repository\Article::getItemsFromElasticBy()
#7 /home/zeleni/webapps/sidev-greenfriends-systems/public/wp-includes/template-loader.php(106): include('...')
#8 /home/zeleni/webapps/sidev-greenfriends-systems/public/wp-blog-header.php(19): require_once('...')
#9 /home/zeleni/webapps/sidev-greenfriends-systems/public/index.php(17): require('...')
#10 {main}
thrown in /home/zeleni/webapps/sidev-greenfriends-systems/public/wp-content/vendor/ruflin/elastica/src/Transport/Http.php on line 178