{"action":"opened","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/807","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/807/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/807/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSElasticaBundle/issues/807/events","html_url":"https://github.com/FriendsOfSymfony/FOSElasticaBundle/issues/807","id":59765527,"number":807,"title":"RetryOnConflict","user":{"login":"royraider","id":3479886,"avatar_url":"https://avatars.githubusercontent.com/u/3479886?v=3","gravatar_id":"","url":"https://api.github.com/users/royraider","html_url":"https://github.com/royraider","followers_url":"https://api.github.com/users/royraider/followers","following_url":"https://api.github.com/users/royraider/following{/other_user}","gists_url":"https://api.github.com/users/royraider/gists{/gist_id}","starred_url":"https://api.github.com/users/royraider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/royraider/subscriptions","organizations_url":"https://api.github.com/users/royraider/orgs","repos_url":"https://api.github.com/users/royraider/repos","events_url":"https://api.github.com/users/royraider/events{/privacy}","received_events_url":"https://api.github.com/users/royraider/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-04T08:32:09Z","updated_at":"2015-03-04T08:32:09Z","closed_at":null,"body":"Hello,\r\nI have problems with my index, after a populate everything is right, but in times some elements start missing, even worst: my website start to throw errors like this one:\r\n```\r\n[2015-03-03 23:46:36] request.CRITICAL: \r\nUncaught PHP Exception Elastica\\Exception\\Bulk\\ResponseException:\r\n\"Error in one or more bulk request actions: update: /app/type/2 caused\r\nVersionConflictEngineException[[index][3] [type][2]: version conflict, current [752], provided [751]] \"\r\nat /var/www/Youmiam/vendor/ruflin/elastica/lib/Elastica/Bulk.php line 395\r\n```\r\n\r\nI found out the error was caused by a double update. But I found I could fix it by a force update thanks to \"retryOnConflict\". (https://github.com/ruflin/Elastica/blob/master/lib/Elastica/Client.php#L24)\r\n\r\nDo I have a way to set it in my config, does someone already used/set this ? Do you have another solution to my problem ?\r\n\r\nThanks a lot for your help !\r\n"}}