{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/Painless/pulls/comments/44729913","id":44729913,"diff_hunk":"@@ -19,7 +19,7 @@ setup:\n                 script_fields:\n                     bar:\n                         script: \n-                            inline: \"return ((List)((Map<String,Object>)input.get(\\\"doc\\\")).get(\\\"foo\\\")).get(0) .. input.get(\\\"x\\\");\"\n+                            inline: \"return input.get(\\\"doc\\\").get(\\\"foo\\\").get(0) + input.get(\\\"x\\\");\"\n                             lang: plan-a","path":"src/test/resources/rest-api-spec/test/plan_a/20_scriptfield.yaml","position":6,"original_position":6,"commit_id":"c84190ebad84488de700743287bf3b6bacbd5a86","original_commit_id":"47c8e9f11c644c9ac49ee64aaf2c42b997002891","user":{"login":"jdconrad","id":2126764,"avatar_url":"https://avatars.githubusercontent.com/u/2126764?v=3","gravatar_id":"","url":"https://api.github.com/users/jdconrad","html_url":"https://github.com/jdconrad","followers_url":"https://api.github.com/users/jdconrad/followers","following_url":"https://api.github.com/users/jdconrad/following{/other_user}","gists_url":"https://api.github.com/users/jdconrad/gists{/gist_id}","starred_url":"https://api.github.com/users/jdconrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdconrad/subscriptions","organizations_url":"https://api.github.com/users/jdconrad/orgs","repos_url":"https://api.github.com/users/jdconrad/repos","events_url":"https://api.github.com/users/jdconrad/events{/privacy}","received_events_url":"https://api.github.com/users/jdconrad/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-11-12T23:16:29Z","updated_at":"2015-11-12T23:16:29Z","html_url":"https://github.com/elastic/Painless/pull/36#discussion_r44729913","pull_request_url":"https://api.github.com/repos/elastic/Painless/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/elastic/Painless/pulls/comments/44729913"},"html":{"href":"https://github.com/elastic/Painless/pull/36#discussion_r44729913"},"pull_request":{"href":"https://api.github.com/repos/elastic/Painless/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/Painless/pulls/36","id":50462997,"html_url":"https://github.com/elastic/Painless/pull/36","diff_url":"https://github.com/elastic/Painless/pull/36.diff","patch_url":"https://github.com/elastic/Painless/pull/36.patch","issue_url":"https://api.github.com/repos/elastic/Painless/issues/36","number":36,"state":"closed","locked":false,"title":"Added def type and other improvements","user":{"login":"jdconrad","id":2126764,"avatar_url":"https://avatars.githubusercontent.com/u/2126764?v=3","gravatar_id":"","url":"https://api.github.com/users/jdconrad","html_url":"https://github.com/jdconrad","followers_url":"https://api.github.com/users/jdconrad/followers","following_url":"https://api.github.com/users/jdconrad/following{/other_user}","gists_url":"https://api.github.com/users/jdconrad/gists{/gist_id}","starred_url":"https://api.github.com/users/jdconrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdconrad/subscriptions","organizations_url":"https://api.github.com/users/jdconrad/orgs","repos_url":"https://api.github.com/users/jdconrad/repos","events_url":"https://api.github.com/users/jdconrad/events{/privacy}","received_events_url":"https://api.github.com/users/jdconrad/received_events","type":"User","site_admin":false},"body":"* Significant improvements to the definition including lower bounding of type pairs.\r\n* Significant improvments to type promotion including separate promotion for conditionals leading to less coupling between nodes in the tree.\r\n* Added a dynamic (def) type that can be any type and will do runtime checking for class types.\r\n* Overloaded operators work with def types.\r\n* General clean up of writer.\r\n* Removed cat .. operator in favor of overloaded + operator.","created_at":"2015-11-12T01:59:43Z","updated_at":"2015-11-12T23:16:29Z","closed_at":"2015-11-12T23:16:08Z","merged_at":"2015-11-12T23:16:08Z","merge_commit_sha":"238d21290476ce2dc9d9ef4d6f2383bd0f60d2f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elastic/Painless/pulls/36/commits","review_comments_url":"https://api.github.com/repos/elastic/Painless/pulls/36/comments","review_comment_url":"https://api.github.com/repos/elastic/Painless/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/Painless/issues/36/comments","statuses_url":"https://api.github.com/repos/elastic/Painless/statuses/c84190ebad84488de700743287bf3b6bacbd5a86","head":{"label":"jdconrad:master","ref":"master","sha":"c84190ebad84488de700743287bf3b6bacbd5a86","user":{"login":"jdconrad","id":2126764,"avatar_url":"https://avatars.githubusercontent.com/u/2126764?v=3","gravatar_id":"","url":"https://api.github.com/users/jdconrad","html_url":"https://github.com/jdconrad","followers_url":"https://api.github.com/users/jdconrad/followers","following_url":"https://api.github.com/users/jdconrad/following{/other_user}","gists_url":"https://api.github.com/users/jdconrad/gists{/gist_id}","starred_url":"https://api.github.com/users/jdconrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdconrad/subscriptions","organizations_url":"https://api.github.com/users/jdconrad/orgs","repos_url":"https://api.github.com/users/jdconrad/repos","events_url":"https://api.github.com/users/jdconrad/events{/privacy}","received_events_url":"https://api.github.com/users/jdconrad/received_events","type":"User","site_admin":false},"repo":{"id":44855639,"name":"Painless","full_name":"jdconrad/Painless","owner":{"login":"jdconrad","id":2126764,"avatar_url":"https://avatars.githubusercontent.com/u/2126764?v=3","gravatar_id":"","url":"https://api.github.com/users/jdconrad","html_url":"https://github.com/jdconrad","followers_url":"https://api.github.com/users/jdconrad/followers","following_url":"https://api.github.com/users/jdconrad/following{/other_user}","gists_url":"https://api.github.com/users/jdconrad/gists{/gist_id}","starred_url":"https://api.github.com/users/jdconrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdconrad/subscriptions","organizations_url":"https://api.github.com/users/jdconrad/orgs","repos_url":"https://api.github.com/users/jdconrad/repos","events_url":"https://api.github.com/users/jdconrad/events{/privacy}","received_events_url":"https://api.github.com/users/jdconrad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jdconrad/Painless","description":"New Scripting Language for ElasticSearch","fork":true,"url":"https://api.github.com/repos/jdconrad/Painless","forks_url":"https://api.github.com/repos/jdconrad/Painless/forks","keys_url":"https://api.github.com/repos/jdconrad/Painless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdconrad/Painless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdconrad/Painless/teams","hooks_url":"https://api.github.com/repos/jdconrad/Painless/hooks","issue_events_url":"https://api.github.com/repos/jdconrad/Painless/issues/events{/number}","events_url":"https://api.github.com/repos/jdconrad/Painless/events","assignees_url":"https://api.github.com/repos/jdconrad/Painless/assignees{/user}","branches_url":"https://api.github.com/repos/jdconrad/Painless/branches{/branch}","tags_url":"https://api.github.com/repos/jdconrad/Painless/tags","blobs_url":"https://api.github.com/repos/jdconrad/Painless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdconrad/Painless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdconrad/Painless/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdconrad/Painless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdconrad/Painless/statuses/{sha}","languages_url":"https://api.github.com/repos/jdconrad/Painless/languages","stargazers_url":"https://api.github.com/repos/jdconrad/Painless/stargazers","contributors_url":"https://api.github.com/repos/jdconrad/Painless/contributors","subscribers_url":"https://api.github.com/repos/jdconrad/Painless/subscribers","subscription_url":"https://api.github.com/repos/jdconrad/Painless/subscription","commits_url":"https://api.github.com/repos/jdconrad/Painless/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdconrad/Painless/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdconrad/Painless/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdconrad/Painless/issues/comments{/number}","contents_url":"https://api.github.com/repos/jdconrad/Painless/contents/{+path}","compare_url":"https://api.github.com/repos/jdconrad/Painless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdconrad/Painless/merges","archive_url":"https://api.github.com/repos/jdconrad/Painless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdconrad/Painless/downloads","issues_url":"https://api.github.com/repos/jdconrad/Painless/issues{/number}","pulls_url":"https://api.github.com/repos/jdconrad/Painless/pulls{/number}","milestones_url":"https://api.github.com/repos/jdconrad/Painless/milestones{/number}","notifications_url":"https://api.github.com/repos/jdconrad/Painless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdconrad/Painless/labels{/name}","releases_url":"https://api.github.com/repos/jdconrad/Painless/releases{/id}","created_at":"2015-10-24T06:50:58Z","updated_at":"2015-10-24T06:51:00Z","pushed_at":"2015-11-12T23:15:29Z","git_url":"git://github.com/jdconrad/Painless.git","ssh_url":"git@github.com:jdconrad/Painless.git","clone_url":"https://github.com/jdconrad/Painless.git","svn_url":"https://github.com/jdconrad/Painless","homepage":null,"size":1271,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"7a513121f16e19d875264f7f82403a5e3fd72210","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":41941632,"name":"Painless","full_name":"elastic/Painless","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/Painless","description":"New Scripting Language for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/Painless","forks_url":"https://api.github.com/repos/elastic/Painless/forks","keys_url":"https://api.github.com/repos/elastic/Painless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/Painless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/Painless/teams","hooks_url":"https://api.github.com/repos/elastic/Painless/hooks","issue_events_url":"https://api.github.com/repos/elastic/Painless/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/Painless/events","assignees_url":"https://api.github.com/repos/elastic/Painless/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/Painless/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/Painless/tags","blobs_url":"https://api.github.com/repos/elastic/Painless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/Painless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/Painless/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/Painless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/Painless/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/Painless/languages","stargazers_url":"https://api.github.com/repos/elastic/Painless/stargazers","contributors_url":"https://api.github.com/repos/elastic/Painless/contributors","subscribers_url":"https://api.github.com/repos/elastic/Painless/subscribers","subscription_url":"https://api.github.com/repos/elastic/Painless/subscription","commits_url":"https://api.github.com/repos/elastic/Painless/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/Painless/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/Painless/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/Painless/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/Painless/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/Painless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/Painless/merges","archive_url":"https://api.github.com/repos/elastic/Painless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/Painless/downloads","issues_url":"https://api.github.com/repos/elastic/Painless/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/Painless/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/Painless/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/Painless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/Painless/labels{/name}","releases_url":"https://api.github.com/repos/elastic/Painless/releases{/id}","created_at":"2015-09-04T23:18:25Z","updated_at":"2015-11-09T08:15:53Z","pushed_at":"2015-11-12T23:16:08Z","git_url":"git://github.com/elastic/Painless.git","ssh_url":"git@github.com:elastic/Painless.git","clone_url":"https://github.com/elastic/Painless.git","svn_url":"https://github.com/elastic/Painless","homepage":"","size":1734,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/Painless/pulls/36"},"html":{"href":"https://github.com/elastic/Painless/pull/36"},"issue":{"href":"https://api.github.com/repos/elastic/Painless/issues/36"},"comments":{"href":"https://api.github.com/repos/elastic/Painless/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/Painless/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/Painless/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/Painless/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/Painless/statuses/c84190ebad84488de700743287bf3b6bacbd5a86"}}}}