diff --git a/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/BulkOperation.php b/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/BulkOperation.php index 4501c82136..16e8cc7fbf 100644 --- a/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/BulkOperation.php +++ b/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/BulkOperation.php @@ -26,7 +26,7 @@ class BulkOperation private $flushLimit = 1000; private $throwOnError; - public function __construct(Client $client, $throwOnError = false) + public function __construct(Client $client, $throwOnError = true) { $this->client = $client; $this->throwOnError = $throwOnError;