Fatal error: Uncaught Elasticsearch\Common\Exceptions\BadRequest400Exception: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"numHits must be > 0; please use TotalHitCountCollector if you just need the total hit count"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"offre","node":"pT1iRkZmRLu4l3TJgocXqQ","reason":{"type":"illegal_argument_exception","reason":"numHits must be > 0; please use TotalHitCountCollector if you just need the total hit count"}}],"caused_by":{"type":"illegal_argument_exception","reason":"numHits must be > 0; please use TotalHitCountCollector if you just need the total hit count","caused_by":{"type":"illegal_argument_exception","reason":"numHits must be > 0; please use TotalHitCountCollector if you just need the total hit count"}}},"status":400} in /var/www/libertyprim.com/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:636 Stack trace: #0 /var/www/liber in /var/www/libertyprim.com/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php on line 636