{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-hadoop/issues/343","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch-hadoop/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch-hadoop/issues/343/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch-hadoop/issues/343/events","html_url":"https://github.com/elasticsearch/elasticsearch-hadoop/issues/343","id":51905500,"number":343,"title":"Support external versioning of documents","user":{"login":"aewhite","id":4342706,"avatar_url":"https://avatars.githubusercontent.com/u/4342706?v=3","gravatar_id":"","url":"https://api.github.com/users/aewhite","html_url":"https://github.com/aewhite","followers_url":"https://api.github.com/users/aewhite/followers","following_url":"https://api.github.com/users/aewhite/following{/other_user}","gists_url":"https://api.github.com/users/aewhite/gists{/gist_id}","starred_url":"https://api.github.com/users/aewhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aewhite/subscriptions","organizations_url":"https://api.github.com/users/aewhite/orgs","repos_url":"https://api.github.com/users/aewhite/repos","events_url":"https://api.github.com/users/aewhite/events{/privacy}","received_events_url":"https://api.github.com/users/aewhite/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-hadoop/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-hadoop/labels/v2.0.3","name":"v2.0.3","color":"bfdadc"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-hadoop/labels/v2.1.0.Beta4","name":"v2.1.0.Beta4","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-12-14T01:23:14Z","updated_at":"2015-01-12T19:43:12Z","closed_at":null,"body":"As per [ES Bulk API Docs] (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-versioning) it is possible to handle external version types. Currently when applying an external version I get the error:\r\n\r\n```\r\norg.elasticsearch.hadoop.rest.EsHadoopInvalidRequest: Found unrecoverable error [Conflict(409) - [VersionConflictEngineException[[index-name][0] [type][id]: version conflict, current [-1], provided [1418513087126]]]]; Bailing out..\r\n```\r\n\r\nPerhaps I missed a feature but my browsing of the code did not indicate that this feature was supported. I am using elasticsearch-hadoop-2.0.2 with elasticsearch-1.4.0 \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-hadoop/issues/comments/69632143","html_url":"https://github.com/elasticsearch/elasticsearch-hadoop/issues/343#issuecomment-69632143","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch-hadoop/issues/343","id":69632143,"user":{"login":"costin","id":76245,"avatar_url":"https://avatars.githubusercontent.com/u/76245?v=3","gravatar_id":"","url":"https://api.github.com/users/costin","html_url":"https://github.com/costin","followers_url":"https://api.github.com/users/costin/followers","following_url":"https://api.github.com/users/costin/following{/other_user}","gists_url":"https://api.github.com/users/costin/gists{/gist_id}","starred_url":"https://api.github.com/users/costin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/costin/subscriptions","organizations_url":"https://api.github.com/users/costin/orgs","repos_url":"https://api.github.com/users/costin/repos","events_url":"https://api.github.com/users/costin/events{/privacy}","received_events_url":"https://api.github.com/users/costin/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T19:43:12Z","updated_at":"2015-01-12T19:43:12Z","body":"Sure - let me know how it goes. Any rough ETAs (just to know how to schedule the issue)? Cheers."}}