Correct transaction management. cf. bug https://openrdf.atlassian.net/browse/SES-2295 and tomcat default management of PUT request with form data (application/x-www-form-urlencoded encoded)
<?php
use Monolog\Logger;
return array(
'hosts' => [env('ELASTICSEARCH_URL')],
'logPath' => storage_path('logs/'.env('ELASTICSEARCH_LOG_PATH', 'elasticsearch.log')),
'logLevel' => Logger::INFO,
'shards' => env('ELASTICSEARCH_SHARDS', 1),
'replicas' => env('ELASTICSEARCH_REPLICAS', 1),
'index' => env('ELASTICSEARCH_INDEX')
);