I tested elastic search but I get this error in logs


(Ahmed Soltan) #1

Elasticsearch\Common\Exceptions\ServerErrorResponseException: {"error":{"root_cause":[],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[]},"status":503} in /var/www/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:656

Stack trace:
#0 /var/www/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(276): Elasticsearch\Connections\Connection->process5xxError(Array, Array, Array)
#1 /var/www/html/vendor/react/promise/src/FulfilledPromise.php(25): Elasticsearch\Connections\Connection->Elasticsearch\Connections{closure}(Array)
#2 /var/www/html/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
#3 /var/www/html/vendor/guzzlehttp/ringphp/src/Core.php(341): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)
#4 /var/www/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(294): GuzzleHttp\Ring\Core::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))
#5 /var/www/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(171): Elasticsearch\Connections\Connection->Elasticsearch\Connections{closure}(Array, Object(Elasticsearch\Connections\Connection), Object(Elasticsearch\Transport), Array)
#6 /var/www/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php(106): Elasticsearch\Connections\Connection->performRequest('GET', '/himmetna-perso...', Array, '{"size":0,"quer...', Array, Object(Elasticsearch\Transport))
#7 /var/www/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php(1578): Elasticsearch\Transport->performRequest('GET', '/himmetna-perso...', Array, Array, Array)
#8 /var/www/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php(952): Elasticsearch\Client->performRequest(Object(Elasticsearch\Endpoints\Search))
#9 /var/www/html/app/Components/Search/Managers/SearchManager.php(743): Elasticsearch\Client->search(Array)
#10 /var/www/html/app/Components/Search/Managers/SearchLogic.php(894): App\Components\Search\Managers\SearchManager->aggregationCount('UserManager', Array)
#11 /var/www/html/app/Components/Search/Managers/SearchLogic.php(816): App\Components\Search\Managers\SearchLogic::getCountAggregationArray(Array, 'UserManager')
#12 /var/www/html/app/Components/Search/Managers/SearchLogic.php(718): App\Components\Search\Managers\SearchLogic::getCountLinks(Array)
#13 /var/www/html/app/Components/Search/Managers/SearchControllerHandel.php(126): App\Components\Search\Managers\SearchLogic::listFilterLinks(Array)
#14 /var/www/html/app/Components/Search/Controllers/SearchController.php(131): App\Components\Search\Managers\SearchControllerHandel::getSearchResultPageObj(Array, Array, Array, '<span class='fi...')
#15 [internal function]: App\Components\Search\Controllers\SearchController->getSearchResultsPage(Object(Illuminate\Http\Request), '\xD8\xA3\xD8\xB3\xD9\x8A\xD9\x88\xD8\xB7,\xD9\x82\xD9\x86...', '\xD8\xAD\xD8\xB1\xD9\x81,\xD9\x85\xD8\xA7\xD9\x84\xD9\x8A...')
#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(55): call_user_func_array(Array, Array)
#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(44): Illuminate\Routing\Controller->callAction('getSearchResult...', Array)
#18 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(203): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(App\Components\Search\Controllers\SearchController), 'getSearchResult...')
#19 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(160): Illuminate\Routing\Route->runController()
#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(572): Illuminate\Routing\Route->run()
#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.