{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/14842","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/14842/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/14842/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/14842/events","html_url":"https://github.com/elastic/elasticsearch/pull/14842","id":117647747,"number":14842,"title":"Throw a meaningful error when loading metadata and an alias and index have the same name","user":{"login":"martijnvg","id":580421,"avatar_url":"https://avatars.githubusercontent.com/u/580421?v=3","gravatar_id":"","url":"https://api.github.com/users/martijnvg","html_url":"https://github.com/martijnvg","followers_url":"https://api.github.com/users/martijnvg/followers","following_url":"https://api.github.com/users/martijnvg/following{/other_user}","gists_url":"https://api.github.com/users/martijnvg/gists{/gist_id}","starred_url":"https://api.github.com/users/martijnvg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijnvg/subscriptions","organizations_url":"https://api.github.com/users/martijnvg/orgs","repos_url":"https://api.github.com/users/martijnvg/repos","events_url":"https://api.github.com/users/martijnvg/events{/privacy}","received_events_url":"https://api.github.com/users/martijnvg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Internal","name":":Internal","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/bug","name":"bug","color":"9e2c2c"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.0.2","name":"v2.0.2","color":"dddddd"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.1.1","name":"v2.1.1","color":"dddddd"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.2.0","name":"v2.2.0","color":"dddddd"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v3.0.0","name":"v3.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-18T18:18:44Z","updated_at":"2015-12-02T11:03:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/14842","html_url":"https://github.com/elastic/elasticsearch/pull/14842","diff_url":"https://github.com/elastic/elasticsearch/pull/14842.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/14842.patch"},"body":"In 1.x it is possible via index templates to create an index with an alias with the same name as the index. The index index must match the index template and have an alias with the same name as the index being created.\r\n\r\nRelates to #14706."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/161261404","html_url":"https://github.com/elastic/elasticsearch/pull/14842#issuecomment-161261404","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/14842","id":161261404,"user":{"login":"javanna","id":832460,"avatar_url":"https://avatars.githubusercontent.com/u/832460?v=3","gravatar_id":"","url":"https://api.github.com/users/javanna","html_url":"https://github.com/javanna","followers_url":"https://api.github.com/users/javanna/followers","following_url":"https://api.github.com/users/javanna/following{/other_user}","gists_url":"https://api.github.com/users/javanna/gists{/gist_id}","starred_url":"https://api.github.com/users/javanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javanna/subscriptions","organizations_url":"https://api.github.com/users/javanna/orgs","repos_url":"https://api.github.com/users/javanna/repos","events_url":"https://api.github.com/users/javanna/events{/privacy}","received_events_url":"https://api.github.com/users/javanna/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T11:03:32Z","updated_at":"2015-12-02T11:03:32Z","body":"++ thanks for the explanation"}}