{"action":"closed","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/8877","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/8877/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/8877/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/8877/events","html_url":"https://github.com/elastic/elasticsearch/issues/8877","id":51560046,"number":8877,"title":"Remove the ability to delete mappings","user":{"login":"clintongormley","id":56599,"avatar_url":"https://avatars.githubusercontent.com/u/56599?v=3","gravatar_id":"","url":"https://api.github.com/users/clintongormley","html_url":"https://github.com/clintongormley","followers_url":"https://api.github.com/users/clintongormley/followers","following_url":"https://api.github.com/users/clintongormley/following{/other_user}","gists_url":"https://api.github.com/users/clintongormley/gists{/gist_id}","starred_url":"https://api.github.com/users/clintongormley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintongormley/subscriptions","organizations_url":"https://api.github.com/users/clintongormley/orgs","repos_url":"https://api.github.com/users/clintongormley/repos","events_url":"https://api.github.com/users/clintongormley/events{/privacy}","received_events_url":"https://api.github.com/users/clintongormley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Mapping","name":":Mapping","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/breaking","name":"breaking","color":"ff0000"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"closed","locked":false,"assignee":{"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},"milestone":null,"comments":0,"created_at":"2014-12-10T13:50:54Z","updated_at":"2015-03-24T16:47:01Z","closed_at":"2015-03-24T16:47:01Z","body":"Currently, a user can delete a `type` entirely, which deletes the type, all documents of that type, and removes the associated fields.  Unfortunately, if any documents of that type have already been indexed, then the fields are part of the index.  Adding fields with the same name but a different data type will cause conflicts later on. (See https://github.com/elasticsearch/elasticsearch/issues/8530#issuecomment-64393335)\r\n\r\nWe should remove the ability to delete types/mappings.\r\n\r\nRelates to #8870"}}