{"action":"opened","number":990,"pull_request":{"url":"https://api.github.com/repos/ruflin/Elastica/pulls/990","id":51592634,"html_url":"https://github.com/ruflin/Elastica/pull/990","diff_url":"https://github.com/ruflin/Elastica/pull/990.diff","patch_url":"https://github.com/ruflin/Elastica/pull/990.patch","issue_url":"https://api.github.com/repos/ruflin/Elastica/issues/990","number":990,"state":"open","locked":false,"title":"[WIP] fix bulk conflict between document and metadata","user":{"login":"ewgRa","id":735804,"avatar_url":"https://avatars.githubusercontent.com/u/735804?v=3","gravatar_id":"","url":"https://api.github.com/users/ewgRa","html_url":"https://github.com/ewgRa","followers_url":"https://api.github.com/users/ewgRa/followers","following_url":"https://api.github.com/users/ewgRa/following{/other_user}","gists_url":"https://api.github.com/users/ewgRa/gists{/gist_id}","starred_url":"https://api.github.com/users/ewgRa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewgRa/subscriptions","organizations_url":"https://api.github.com/users/ewgRa/orgs","repos_url":"https://api.github.com/users/ewgRa/repos","events_url":"https://api.github.com/users/ewgRa/events{/privacy}","received_events_url":"https://api.github.com/users/ewgRa/received_events","type":"User","site_admin":false},"body":"This is a draft version of PR that will fix problems with CrossIndex failed tests.\r\n\r\nActually problem in Bulk actions.\r\n\r\nElastica try set _id in metadata and also in document, now Elasticsearch consider it as error.\r\n\r\nIdea is to protect Bulk actions from misuse, when source is setted with metadata fields.","created_at":"2015-11-23T22:52:06Z","updated_at":"2015-11-23T22:52:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16c49e4d5d13ff6ad4f46256b6ef01f5ab7078ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ruflin/Elastica/pulls/990/commits","review_comments_url":"https://api.github.com/repos/ruflin/Elastica/pulls/990/comments","review_comment_url":"https://api.github.com/repos/ruflin/Elastica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ruflin/Elastica/issues/990/comments","statuses_url":"https://api.github.com/repos/ruflin/Elastica/statuses/c5dec119b125c1a3c93a0dcb73d05b9d0c568ff2","head":{"label":"ewgRa:cross-index-fix","ref":"cross-index-fix","sha":"c5dec119b125c1a3c93a0dcb73d05b9d0c568ff2","user":{"login":"ewgRa","id":735804,"avatar_url":"https://avatars.githubusercontent.com/u/735804?v=3","gravatar_id":"","url":"https://api.github.com/users/ewgRa","html_url":"https://github.com/ewgRa","followers_url":"https://api.github.com/users/ewgRa/followers","following_url":"https://api.github.com/users/ewgRa/following{/other_user}","gists_url":"https://api.github.com/users/ewgRa/gists{/gist_id}","starred_url":"https://api.github.com/users/ewgRa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewgRa/subscriptions","organizations_url":"https://api.github.com/users/ewgRa/orgs","repos_url":"https://api.github.com/users/ewgRa/repos","events_url":"https://api.github.com/users/ewgRa/events{/privacy}","received_events_url":"https://api.github.com/users/ewgRa/received_events","type":"User","site_admin":false},"repo":{"id":30909213,"name":"Elastica","full_name":"ewgRa/Elastica","owner":{"login":"ewgRa","id":735804,"avatar_url":"https://avatars.githubusercontent.com/u/735804?v=3","gravatar_id":"","url":"https://api.github.com/users/ewgRa","html_url":"https://github.com/ewgRa","followers_url":"https://api.github.com/users/ewgRa/followers","following_url":"https://api.github.com/users/ewgRa/following{/other_user}","gists_url":"https://api.github.com/users/ewgRa/gists{/gist_id}","starred_url":"https://api.github.com/users/ewgRa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewgRa/subscriptions","organizations_url":"https://api.github.com/users/ewgRa/orgs","repos_url":"https://api.github.com/users/ewgRa/repos","events_url":"https://api.github.com/users/ewgRa/events{/privacy}","received_events_url":"https://api.github.com/users/ewgRa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ewgRa/Elastica","description":"Elastica is a PHP client for elasticsearch","fork":true,"url":"https://api.github.com/repos/ewgRa/Elastica","forks_url":"https://api.github.com/repos/ewgRa/Elastica/forks","keys_url":"https://api.github.com/repos/ewgRa/Elastica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ewgRa/Elastica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ewgRa/Elastica/teams","hooks_url":"https://api.github.com/repos/ewgRa/Elastica/hooks","issue_events_url":"https://api.github.com/repos/ewgRa/Elastica/issues/events{/number}","events_url":"https://api.github.com/repos/ewgRa/Elastica/events","assignees_url":"https://api.github.com/repos/ewgRa/Elastica/assignees{/user}","branches_url":"https://api.github.com/repos/ewgRa/Elastica/branches{/branch}","tags_url":"https://api.github.com/repos/ewgRa/Elastica/tags","blobs_url":"https://api.github.com/repos/ewgRa/Elastica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ewgRa/Elastica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ewgRa/Elastica/git/refs{/sha}","trees_url":"https://api.github.com/repos/ewgRa/Elastica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ewgRa/Elastica/statuses/{sha}","languages_url":"https://api.github.com/repos/ewgRa/Elastica/languages","stargazers_url":"https://api.github.com/repos/ewgRa/Elastica/stargazers","contributors_url":"https://api.github.com/repos/ewgRa/Elastica/contributors","subscribers_url":"https://api.github.com/repos/ewgRa/Elastica/subscribers","subscription_url":"https://api.github.com/repos/ewgRa/Elastica/subscription","commits_url":"https://api.github.com/repos/ewgRa/Elastica/commits{/sha}","git_commits_url":"https://api.github.com/repos/ewgRa/Elastica/git/commits{/sha}","comments_url":"https://api.github.com/repos/ewgRa/Elastica/comments{/number}","issue_comment_url":"https://api.github.com/repos/ewgRa/Elastica/issues/comments{/number}","contents_url":"https://api.github.com/repos/ewgRa/Elastica/contents/{+path}","compare_url":"https://api.github.com/repos/ewgRa/Elastica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ewgRa/Elastica/merges","archive_url":"https://api.github.com/repos/ewgRa/Elastica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ewgRa/Elastica/downloads","issues_url":"https://api.github.com/repos/ewgRa/Elastica/issues{/number}","pulls_url":"https://api.github.com/repos/ewgRa/Elastica/pulls{/number}","milestones_url":"https://api.github.com/repos/ewgRa/Elastica/milestones{/number}","notifications_url":"https://api.github.com/repos/ewgRa/Elastica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ewgRa/Elastica/labels{/name}","releases_url":"https://api.github.com/repos/ewgRa/Elastica/releases{/id}","created_at":"2015-02-17T08:50:24Z","updated_at":"2015-03-18T19:15:28Z","pushed_at":"2015-11-23T22:47:12Z","git_url":"git://github.com/ewgRa/Elastica.git","ssh_url":"git@github.com:ewgRa/Elastica.git","clone_url":"https://github.com/ewgRa/Elastica.git","svn_url":"https://github.com/ewgRa/Elastica","homepage":"http://elastica.io/","size":7334,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ruflin:elasticsearch-2.0","ref":"elasticsearch-2.0","sha":"ade65ae494c94bd4d6a0c2d05b74b4f18f4d669c","user":{"login":"ruflin","id":244900,"avatar_url":"https://avatars.githubusercontent.com/u/244900?v=3","gravatar_id":"","url":"https://api.github.com/users/ruflin","html_url":"https://github.com/ruflin","followers_url":"https://api.github.com/users/ruflin/followers","following_url":"https://api.github.com/users/ruflin/following{/other_user}","gists_url":"https://api.github.com/users/ruflin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruflin/subscriptions","organizations_url":"https://api.github.com/users/ruflin/orgs","repos_url":"https://api.github.com/users/ruflin/repos","events_url":"https://api.github.com/users/ruflin/events{/privacy}","received_events_url":"https://api.github.com/users/ruflin/received_events","type":"User","site_admin":false},"repo":{"id":1006445,"name":"Elastica","full_name":"ruflin/Elastica","owner":{"login":"ruflin","id":244900,"avatar_url":"https://avatars.githubusercontent.com/u/244900?v=3","gravatar_id":"","url":"https://api.github.com/users/ruflin","html_url":"https://github.com/ruflin","followers_url":"https://api.github.com/users/ruflin/followers","following_url":"https://api.github.com/users/ruflin/following{/other_user}","gists_url":"https://api.github.com/users/ruflin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruflin/subscriptions","organizations_url":"https://api.github.com/users/ruflin/orgs","repos_url":"https://api.github.com/users/ruflin/repos","events_url":"https://api.github.com/users/ruflin/events{/privacy}","received_events_url":"https://api.github.com/users/ruflin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ruflin/Elastica","description":"Elastica is a PHP client for elasticsearch","fork":false,"url":"https://api.github.com/repos/ruflin/Elastica","forks_url":"https://api.github.com/repos/ruflin/Elastica/forks","keys_url":"https://api.github.com/repos/ruflin/Elastica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruflin/Elastica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruflin/Elastica/teams","hooks_url":"https://api.github.com/repos/ruflin/Elastica/hooks","issue_events_url":"https://api.github.com/repos/ruflin/Elastica/issues/events{/number}","events_url":"https://api.github.com/repos/ruflin/Elastica/events","assignees_url":"https://api.github.com/repos/ruflin/Elastica/assignees{/user}","branches_url":"https://api.github.com/repos/ruflin/Elastica/branches{/branch}","tags_url":"https://api.github.com/repos/ruflin/Elastica/tags","blobs_url":"https://api.github.com/repos/ruflin/Elastica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruflin/Elastica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruflin/Elastica/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruflin/Elastica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruflin/Elastica/statuses/{sha}","languages_url":"https://api.github.com/repos/ruflin/Elastica/languages","stargazers_url":"https://api.github.com/repos/ruflin/Elastica/stargazers","contributors_url":"https://api.github.com/repos/ruflin/Elastica/contributors","subscribers_url":"https://api.github.com/repos/ruflin/Elastica/subscribers","subscription_url":"https://api.github.com/repos/ruflin/Elastica/subscription","commits_url":"https://api.github.com/repos/ruflin/Elastica/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruflin/Elastica/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruflin/Elastica/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruflin/Elastica/issues/comments{/number}","contents_url":"https://api.github.com/repos/ruflin/Elastica/contents/{+path}","compare_url":"https://api.github.com/repos/ruflin/Elastica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruflin/Elastica/merges","archive_url":"https://api.github.com/repos/ruflin/Elastica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruflin/Elastica/downloads","issues_url":"https://api.github.com/repos/ruflin/Elastica/issues{/number}","pulls_url":"https://api.github.com/repos/ruflin/Elastica/pulls{/number}","milestones_url":"https://api.github.com/repos/ruflin/Elastica/milestones{/number}","notifications_url":"https://api.github.com/repos/ruflin/Elastica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruflin/Elastica/labels{/name}","releases_url":"https://api.github.com/repos/ruflin/Elastica/releases{/id}","created_at":"2010-10-19T17:04:21Z","updated_at":"2015-11-23T21:19:02Z","pushed_at":"2015-11-23T22:52:06Z","git_url":"git://github.com/ruflin/Elastica.git","ssh_url":"git@github.com:ruflin/Elastica.git","clone_url":"https://github.com/ruflin/Elastica.git","svn_url":"https://github.com/ruflin/Elastica","homepage":"http://elastica.io/","size":57977,"stargazers_count":1114,"watchers_count":1114,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":421,"mirror_url":null,"open_issues_count":95,"forks":421,"open_issues":95,"watchers":1114,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/990"},"html":{"href":"https://github.com/ruflin/Elastica/pull/990"},"issue":{"href":"https://api.github.com/repos/ruflin/Elastica/issues/990"},"comments":{"href":"https://api.github.com/repos/ruflin/Elastica/issues/990/comments"},"review_comments":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/990/comments"},"review_comment":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/990/commits"},"statuses":{"href":"https://api.github.com/repos/ruflin/Elastica/statuses/c5dec119b125c1a3c93a0dcb73d05b9d0c568ff2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":29,"deletions":3,"changed_files":4}}