{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments/78561516","id":78561516,"diff_hunk":"@@ -25,7 +25,7 @@ GET /_search\n \n An empty array will cause only the `_id` and `_type` for each hit to be\n returned, for example:\n-\n+t","path":"docs/reference/search/request/stored-fields.asciidoc","position":5,"original_position":5,"commit_id":"80788c33757b30c88a4acc27250f00b15ef6edf5","original_commit_id":"80788c33757b30c88a4acc27250f00b15ef6edf5","user":{"login":"nik9000","id":215970,"avatar_url":"https://avatars.githubusercontent.com/u/215970?v=3","gravatar_id":"","url":"https://api.github.com/users/nik9000","html_url":"https://github.com/nik9000","followers_url":"https://api.github.com/users/nik9000/followers","following_url":"https://api.github.com/users/nik9000/following{/other_user}","gists_url":"https://api.github.com/users/nik9000/gists{/gist_id}","starred_url":"https://api.github.com/users/nik9000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nik9000/subscriptions","organizations_url":"https://api.github.com/users/nik9000/orgs","repos_url":"https://api.github.com/users/nik9000/repos","events_url":"https://api.github.com/users/nik9000/events{/privacy}","received_events_url":"https://api.github.com/users/nik9000/received_events","type":"User","site_admin":false},"body":"Leftover?","created_at":"2016-09-13T13:46:10Z","updated_at":"2016-09-13T13:46:10Z","html_url":"https://github.com/elastic/elasticsearch/pull/20166#discussion_r78561516","pull_request_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/20166","_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments/78561516"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/20166#discussion_r78561516"},"pull_request":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/20166"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/20166","id":82739538,"html_url":"https://github.com/elastic/elasticsearch/pull/20166","diff_url":"https://github.com/elastic/elasticsearch/pull/20166.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/20166.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/20166","number":20166,"state":"open","locked":false,"title":"Fixed naming inconsistency for fields/stored_fields in the APIs","user":{"login":"jimferenczi","id":15977469,"avatar_url":"https://avatars.githubusercontent.com/u/15977469?v=3","gravatar_id":"","url":"https://api.github.com/users/jimferenczi","html_url":"https://github.com/jimferenczi","followers_url":"https://api.github.com/users/jimferenczi/followers","following_url":"https://api.github.com/users/jimferenczi/following{/other_user}","gists_url":"https://api.github.com/users/jimferenczi/gists{/gist_id}","starred_url":"https://api.github.com/users/jimferenczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimferenczi/subscriptions","organizations_url":"https://api.github.com/users/jimferenczi/orgs","repos_url":"https://api.github.com/users/jimferenczi/repos","events_url":"https://api.github.com/users/jimferenczi/events{/privacy}","received_events_url":"https://api.github.com/users/jimferenczi/received_events","type":"User","site_admin":false},"body":"This change replaces the fields parameter with stored_fields when it makes sense.\r\nThis is dictated by the renaming we made in #18943 for the search API.\r\n\r\nThe following list of endpoint has been changed to use `stored_fields` instead of `fields`:\r\n* get\r\n* mget\r\n* explain\r\n\r\nThe documentation and the rest API spec has been updated to cope with the changes for the following APIs:\r\n* delete_by_query\r\n* get\r\n* mget\r\n* explain\r\n\r\nThe `fields` parameter has been deprecated for the following APIs:\r\n* update\r\n* bulk\r\n\r\nThese APIs now support `_source` as a parameter to filter the _source of the updated document to be returned. \r\n\r\nSome APIs still have the `fields` parameter for various reasons:\r\n* cat.fielddata: the fields paramaters relates to the fielddata fields that should be printed.\r\n* indices.clear_cache: used to indicate which fielddata fields should be cleared.\r\n* indices.get_field_mapping: used to filter fields in the mapping.\r\n* indices.stats: get stats on fields (stored or not stored).\r\n* termvectors: fields are retrieved from the stored fields if possible and extracted from the _source otherwise.\r\n* mtermvectors:\r\n* nodes.stats: the fields parameter is used to concatenate completion_fields and fielddata_fields so it's not related to stored_fields at all.\r\n\r\nFixes #20155","created_at":"2016-08-25T15:18:13Z","updated_at":"2016-09-13T13:46:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2292cbd6bafafe63bba813e3546d54843330d8d3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/20166/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/20166/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/20166/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/80788c33757b30c88a4acc27250f00b15ef6edf5","head":{"label":"jimferenczi:fields_renaming","ref":"fields_renaming","sha":"80788c33757b30c88a4acc27250f00b15ef6edf5","user":{"login":"jimferenczi","id":15977469,"avatar_url":"https://avatars.githubusercontent.com/u/15977469?v=3","gravatar_id":"","url":"https://api.github.com/users/jimferenczi","html_url":"https://github.com/jimferenczi","followers_url":"https://api.github.com/users/jimferenczi/followers","following_url":"https://api.github.com/users/jimferenczi/following{/other_user}","gists_url":"https://api.github.com/users/jimferenczi/gists{/gist_id}","starred_url":"https://api.github.com/users/jimferenczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimferenczi/subscriptions","organizations_url":"https://api.github.com/users/jimferenczi/orgs","repos_url":"https://api.github.com/users/jimferenczi/repos","events_url":"https://api.github.com/users/jimferenczi/events{/privacy}","received_events_url":"https://api.github.com/users/jimferenczi/received_events","type":"User","site_admin":false},"repo":{"id":46779835,"name":"elasticsearch","full_name":"jimferenczi/elasticsearch","owner":{"login":"jimferenczi","id":15977469,"avatar_url":"https://avatars.githubusercontent.com/u/15977469?v=3","gravatar_id":"","url":"https://api.github.com/users/jimferenczi","html_url":"https://github.com/jimferenczi","followers_url":"https://api.github.com/users/jimferenczi/followers","following_url":"https://api.github.com/users/jimferenczi/following{/other_user}","gists_url":"https://api.github.com/users/jimferenczi/gists{/gist_id}","starred_url":"https://api.github.com/users/jimferenczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimferenczi/subscriptions","organizations_url":"https://api.github.com/users/jimferenczi/orgs","repos_url":"https://api.github.com/users/jimferenczi/repos","events_url":"https://api.github.com/users/jimferenczi/events{/privacy}","received_events_url":"https://api.github.com/users/jimferenczi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimferenczi/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":true,"url":"https://api.github.com/repos/jimferenczi/elasticsearch","forks_url":"https://api.github.com/repos/jimferenczi/elasticsearch/forks","keys_url":"https://api.github.com/repos/jimferenczi/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimferenczi/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimferenczi/elasticsearch/teams","hooks_url":"https://api.github.com/repos/jimferenczi/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/jimferenczi/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/jimferenczi/elasticsearch/events","assignees_url":"https://api.github.com/repos/jimferenczi/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/jimferenczi/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/jimferenczi/elasticsearch/tags","blobs_url":"https://api.github.com/repos/jimferenczi/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimferenczi/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimferenczi/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimferenczi/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimferenczi/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/jimferenczi/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/jimferenczi/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/jimferenczi/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/jimferenczi/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/jimferenczi/elasticsearch/subscription","commits_url":"https://api.github.com/repos/jimferenczi/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimferenczi/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimferenczi/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimferenczi/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimferenczi/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/jimferenczi/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimferenczi/elasticsearch/merges","archive_url":"https://api.github.com/repos/jimferenczi/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimferenczi/elasticsearch/downloads","issues_url":"https://api.github.com/repos/jimferenczi/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/jimferenczi/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/jimferenczi/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/jimferenczi/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimferenczi/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/jimferenczi/elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/jimferenczi/elasticsearch/deployments","created_at":"2015-11-24T09:08:46Z","updated_at":"2016-01-11T09:19:57Z","pushed_at":"2016-09-13T12:22:55Z","git_url":"git://github.com/jimferenczi/elasticsearch.git","ssh_url":"git@github.com:jimferenczi/elasticsearch.git","clone_url":"https://github.com/jimferenczi/elasticsearch.git","svn_url":"https://github.com/jimferenczi/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":234413,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"567093cf788a81f13bd3ba851e02ac785bfe2a75","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":507775,"name":"elasticsearch","full_name":"elastic/elasticsearch","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/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch","forks_url":"https://api.github.com/repos/elastic/elasticsearch/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/elasticsearch/deployments","created_at":"2010-02-08T13:20:56Z","updated_at":"2016-09-13T13:21:08Z","pushed_at":"2016-09-13T13:30:00Z","git_url":"git://github.com/elastic/elasticsearch.git","ssh_url":"git@github.com:elastic/elasticsearch.git","clone_url":"https://github.com/elastic/elasticsearch.git","svn_url":"https://github.com/elastic/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":349211,"stargazers_count":18379,"watchers_count":18379,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6258,"mirror_url":null,"open_issues_count":1121,"forks":6258,"open_issues":1121,"watchers":18379,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/20166"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/20166"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/20166"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/20166/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/20166/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/20166/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch/statuses/80788c33757b30c88a4acc27250f00b15ef6edf5"}}}}
{"actor":{"display_login":"nik9000"}}