Fatal error: Uncaught Elastic\Elasticsearch\Exception\ClientResponseException: 400 Bad Request: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"failed to create query: Can't parse boolean value [1], expected [true] or [false]","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":"HEDrsgCqSlyvETQ1lKXzYA","reason":{"type":"query_shard_exception","reason":"failed to create query: Can't parse boolean value [1], expected [true] or [false]","index_uuid":"0i_1A7HNS3qpmXD8G0r_cg","index":"doutrinas_elastic_v1","caused_by":{"type":"illegal_argument_exception","reason":"Can't parse boolean value [1], expected [true] or [false]"}}}]},"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