{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9670","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9670/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9670/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9670/events","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9670","id":57425076,"number":9670,"title":"Mappings: Remove support for field access by short name","user":{"login":"rjernst","id":289412,"avatar_url":"https://avatars.githubusercontent.com/u/289412?v=3","gravatar_id":"","url":"https://api.github.com/users/rjernst","html_url":"https://github.com/rjernst","followers_url":"https://api.github.com/users/rjernst/followers","following_url":"https://api.github.com/users/rjernst/following{/other_user}","gists_url":"https://api.github.com/users/rjernst/gists{/gist_id}","starred_url":"https://api.github.com/users/rjernst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjernst/subscriptions","organizations_url":"https://api.github.com/users/rjernst/orgs","repos_url":"https://api.github.com/users/rjernst/repos","events_url":"https://api.github.com/users/rjernst/events{/privacy}","received_events_url":"https://api.github.com/users/rjernst/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/:Mapping","name":":Mapping","color":"009800"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/review","name":"review","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-12T07:04:33Z","updated_at":"2015-02-12T11:01:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/pulls/9670","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9670","diff_url":"https://github.com/elasticsearch/elasticsearch/pull/9670.diff","patch_url":"https://github.com/elasticsearch/elasticsearch/pull/9670.patch"},"body":"When multiple fields under object fields share the same name, accessing\r\nby short name is ambiguous.  This removes support for short names,\r\nalways requiring the full name when used in queries.\r\n\r\ncloses #8872 \r\n\r\nNote: I have an existing todo that I intend to commit, which is to in the future rename the name() function on doc field mappers.  For now, it is just changed to be implemented with fullName.  I did not want to litter this PR with a largish change (55 usages)."},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/comments/74053144","html_url":"https://github.com/elasticsearch/elasticsearch/pull/9670#issuecomment-74053144","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9670","id":74053144,"user":{"login":"jpountz","id":299848,"avatar_url":"https://avatars.githubusercontent.com/u/299848?v=3","gravatar_id":"","url":"https://api.github.com/users/jpountz","html_url":"https://github.com/jpountz","followers_url":"https://api.github.com/users/jpountz/followers","following_url":"https://api.github.com/users/jpountz/following{/other_user}","gists_url":"https://api.github.com/users/jpountz/gists{/gist_id}","starred_url":"https://api.github.com/users/jpountz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpountz/subscriptions","organizations_url":"https://api.github.com/users/jpountz/orgs","repos_url":"https://api.github.com/users/jpountz/repos","events_url":"https://api.github.com/users/jpountz/events{/privacy}","received_events_url":"https://api.github.com/users/jpountz/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T11:01:14Z","updated_at":"2015-02-12T11:01:14Z","body":"I think this deserves an entry in the 2.0 migration guide? Otherwise LGTM"}}