Warning: Undefined variable $areas in /home/legjur/public_html/doutrina/index.php on line 234
Fatal error: Uncaught Elastic\Elasticsearch\Exception\ClientResponseException: 400 Bad Request: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [data.keyword] in order to sort on","index_uuid":"0i_1A7HNS3qpmXD8G0r_cg","index":"doutrinas_elastic_v1"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"doutrinas_elastic_v1","node":"iyNF8r3lQtGejTJ7rvKiXw","reason":{"type":"query_shard_exception","reason":"No mapping found for [data.keyword] in order to sort on","index_uuid":"0i_1A7HNS3qpmXD8G0r_cg","index":"doutrinas_elastic_v1"}}]},"status":400} in /home/legjur/vendor/elasticsearch/elasticsearch/src/Response/Elasticsearch.php:68
Stack trace:
#0 /home/legjur/vendor/elasticsearch/elasticsearch/src/Client.php(185): Elastic\Elasticsearch\Response\Elasticsearch->setResponse()
#1 /home/legjur/vendor/elasticsearch/elasticsearch/src/Traits/ClientEndpointsTrait.php(1686): Elastic\Elasticsearch\Client->sendRequest()
#2 /home/legjur/public_html/funcoes/funcoes.php(12215): Elastic\Elasticsearch\Client->search()
#3 /home/legjur/public_html/funcoes/funcoes.php(13679): carrega_base_elastic()
#4 /home/legjur/public_html/doutrina/index.php(234): carrega_doutrinas_elastic()
#5 {main}
thrown in /home/legjur/vendor/elasticsearch/elasticsearch/src/Response/Elasticsearch.php on line 68