{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/16877","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/16877/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/16877/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/16877/events","html_url":"https://github.com/elastic/elasticsearch/pull/16877","id":137529888,"number":16877,"title":"Deprecate string in favor of text/keyword.","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},"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/deprecation","name":"deprecation","color":"e495f9"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v5.0.0","name":"v5.0.0","color":"dddddd"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-01T10:11:51Z","updated_at":"2016-03-03T20:15:20Z","closed_at":"2016-03-03T09:22:18Z","pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/16877","html_url":"https://github.com/elastic/elasticsearch/pull/16877","diff_url":"https://github.com/elastic/elasticsearch/pull/16877.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/16877.patch"},"body":"This commit removes the ability to use string fields on indices created on or\r\nafter 5.0. Dynamic mappings now generate text fields by default for strings\r\nbut there are plans to also add a sub keyword field (in a future PR).\r\n\r\nMost of the changes in this commit are just about replacing string with\r\nkeyword or text. Some tests have been removed because they existed because of\r\ncorner cases of string mappings like setting ignore-above on a text field or\r\nenabling term vectors on a keyword field which are now impossible.\r\n\r\nThe plan is to remove strings entirely in 6.0."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/191943623","html_url":"https://github.com/elastic/elasticsearch/pull/16877#issuecomment-191943623","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/16877","id":191943623,"user":{"login":"Bargs","id":6239176,"avatar_url":"https://avatars.githubusercontent.com/u/6239176?v=3","gravatar_id":"","url":"https://api.github.com/users/Bargs","html_url":"https://github.com/Bargs","followers_url":"https://api.github.com/users/Bargs/followers","following_url":"https://api.github.com/users/Bargs/following{/other_user}","gists_url":"https://api.github.com/users/Bargs/gists{/gist_id}","starred_url":"https://api.github.com/users/Bargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bargs/subscriptions","organizations_url":"https://api.github.com/users/Bargs/orgs","repos_url":"https://api.github.com/users/Bargs/repos","events_url":"https://api.github.com/users/Bargs/events{/privacy}","received_events_url":"https://api.github.com/users/Bargs/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T20:15:20Z","updated_at":"2016-03-03T20:15:20Z","body":"I've come across a problem while trying to update the default mappings for the .kibana index.\r\n\r\nThe current breaking changes guide states:\r\n\r\n> On all types but string, the index property now only accepts true/false instead of not_analyzed/no. The string field still accepts analyzed/not_analyzed/no\r\n\r\nAfter switching our `string` field to `text`, it will now only accept true/false for the `index` property. How do I get an indexed but not_analyzed `text` field?\r\n"}}