{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/kibana/pulls/comments/74754035","id":74754035,"diff_hunk":"@@ -9,11 +9,11 @@\n   </span>\n   <div class=\"hintbox\" ng-show=\"showAnalyzedFieldWarning && agg.params.field.analyzed\">\n     <p>\n-    <strong>Careful!</strong> The field selected contains analyzed strings. Analyzed strings are highly unique and can use a lot of memory to visualize. Values such as <i>foo-bar</i> will be broken into <i>foo</i> and <i>bar</i>. See <a href=\"http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html\" target=\"_blank\">Mapping Types</a> for more information on setting this field as <i>not_analyzed</i>\n+    <strong>Careful!</strong> The field selected contains analyzed strings. Analyzed strings are highly unique and can use a lot of memory to visualize. Values such as <i>foo-bar</i> will be broken into <i>foo</i> and <i>bar</i>. See <a href=\"http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html\" target=\"_blank\">Mapping Types</a> for more information for setting this field as <i>keyword</i> (not analyzed).\n     </p>\n \n-    <p ng-show=\"indexedFields.byName[agg.params.field.name + '.raw'].analyzed == false\">\n-      <strong>Tip:</strong> <i>{{agg.params.field.name + '.raw'}}</i> may be a <i>not_analyzed</i> version of this field.\n+    <p ng-show=\"indexedFields.byName[agg.params.field.name + '.keyword'].analyzed == false\">\n+      <strong>Tip:</strong> <i>{{agg.params.field.name + '.keyword'}}</i> may be a non analyzed version of this field.","path":"src/ui/public/agg_types/controls/field.html","position":11,"original_position":11,"commit_id":"43f9665ab6e11ba7ad35ddebb9269f62eba99398","original_commit_id":"43f9665ab6e11ba7ad35ddebb9269f62eba99398","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},"body":"I think it's worth checking for either .raw or .keyword. The `.raw` suffix will die out eventually, but I think it'll still be pretty prevalent for awhile.","created_at":"2016-08-15T12:26:52Z","updated_at":"2016-08-15T12:26:52Z","html_url":"https://github.com/elastic/kibana/pull/7993#discussion_r74754035","pull_request_url":"https://api.github.com/repos/elastic/kibana/pulls/7993","_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments/74754035"},"html":{"href":"https://github.com/elastic/kibana/pull/7993#discussion_r74754035"},"pull_request":{"href":"https://api.github.com/repos/elastic/kibana/pulls/7993"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/7993","id":81179634,"html_url":"https://github.com/elastic/kibana/pull/7993","diff_url":"https://github.com/elastic/kibana/pull/7993.diff","patch_url":"https://github.com/elastic/kibana/pull/7993.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/7993","number":7993,"state":"open","locked":false,"title":"Fix hint for analyzed fields","user":{"login":"timroes","id":877229,"avatar_url":"https://avatars.githubusercontent.com/u/877229?v=3","gravatar_id":"","url":"https://api.github.com/users/timroes","html_url":"https://github.com/timroes","followers_url":"https://api.github.com/users/timroes/followers","following_url":"https://api.github.com/users/timroes/following{/other_user}","gists_url":"https://api.github.com/users/timroes/gists{/gist_id}","starred_url":"https://api.github.com/users/timroes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timroes/subscriptions","organizations_url":"https://api.github.com/users/timroes/orgs","repos_url":"https://api.github.com/users/timroes/repos","events_url":"https://api.github.com/users/timroes/events{/privacy}","received_events_url":"https://api.github.com/users/timroes/received_events","type":"User","site_admin":false},"body":"On analyzed fields a hint is shown with links and possible unanalyzed version of that field.\r\n\r\nDue to the change to `text`, `keyword` in ES 5 and the new default mapping, this hint should rather check for an `.keyword` field than the `.raw` logstash field. Also I changed the wording a bit to fit the new terminology better.","created_at":"2016-08-12T20:37:02Z","updated_at":"2016-08-15T12:26:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5609251658a3e88e0679c9b84e41e292eeb107f2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/7993/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/7993/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/7993/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/43f9665ab6e11ba7ad35ddebb9269f62eba99398","head":{"label":"timroes:keywordHint","ref":"keywordHint","sha":"43f9665ab6e11ba7ad35ddebb9269f62eba99398","user":{"login":"timroes","id":877229,"avatar_url":"https://avatars.githubusercontent.com/u/877229?v=3","gravatar_id":"","url":"https://api.github.com/users/timroes","html_url":"https://github.com/timroes","followers_url":"https://api.github.com/users/timroes/followers","following_url":"https://api.github.com/users/timroes/following{/other_user}","gists_url":"https://api.github.com/users/timroes/gists{/gist_id}","starred_url":"https://api.github.com/users/timroes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timroes/subscriptions","organizations_url":"https://api.github.com/users/timroes/orgs","repos_url":"https://api.github.com/users/timroes/repos","events_url":"https://api.github.com/users/timroes/events{/privacy}","received_events_url":"https://api.github.com/users/timroes/received_events","type":"User","site_admin":false},"repo":{"id":30105345,"name":"kibana","full_name":"timroes/kibana","owner":{"login":"timroes","id":877229,"avatar_url":"https://avatars.githubusercontent.com/u/877229?v=3","gravatar_id":"","url":"https://api.github.com/users/timroes","html_url":"https://github.com/timroes","followers_url":"https://api.github.com/users/timroes/followers","following_url":"https://api.github.com/users/timroes/following{/other_user}","gists_url":"https://api.github.com/users/timroes/gists{/gist_id}","starred_url":"https://api.github.com/users/timroes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timroes/subscriptions","organizations_url":"https://api.github.com/users/timroes/orgs","repos_url":"https://api.github.com/users/timroes/repos","events_url":"https://api.github.com/users/timroes/events{/privacy}","received_events_url":"https://api.github.com/users/timroes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timroes/kibana","description":"Kibana","fork":true,"url":"https://api.github.com/repos/timroes/kibana","forks_url":"https://api.github.com/repos/timroes/kibana/forks","keys_url":"https://api.github.com/repos/timroes/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timroes/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timroes/kibana/teams","hooks_url":"https://api.github.com/repos/timroes/kibana/hooks","issue_events_url":"https://api.github.com/repos/timroes/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/timroes/kibana/events","assignees_url":"https://api.github.com/repos/timroes/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/timroes/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/timroes/kibana/tags","blobs_url":"https://api.github.com/repos/timroes/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timroes/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timroes/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/timroes/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timroes/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/timroes/kibana/languages","stargazers_url":"https://api.github.com/repos/timroes/kibana/stargazers","contributors_url":"https://api.github.com/repos/timroes/kibana/contributors","subscribers_url":"https://api.github.com/repos/timroes/kibana/subscribers","subscription_url":"https://api.github.com/repos/timroes/kibana/subscription","commits_url":"https://api.github.com/repos/timroes/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/timroes/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/timroes/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/timroes/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/timroes/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/timroes/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timroes/kibana/merges","archive_url":"https://api.github.com/repos/timroes/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timroes/kibana/downloads","issues_url":"https://api.github.com/repos/timroes/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/timroes/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/timroes/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/timroes/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timroes/kibana/labels{/name}","releases_url":"https://api.github.com/repos/timroes/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/timroes/kibana/deployments","created_at":"2015-01-31T07:05:20Z","updated_at":"2016-08-07T10:52:48Z","pushed_at":"2016-08-13T13:39:58Z","git_url":"git://github.com/timroes/kibana.git","ssh_url":"git@github.com:timroes/kibana.git","clone_url":"https://github.com/timroes/kibana.git","svn_url":"https://github.com/timroes/kibana","homepage":"http://www.elasticsearch.org/overview/kibana/","size":180720,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"3e2fee281a44b8ed3a75189725bc51ac35a583d6","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":7833168,"name":"kibana","full_name":"elastic/kibana","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/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/kibana/deployments","created_at":"2013-01-26T04:00:59Z","updated_at":"2016-08-15T09:58:13Z","pushed_at":"2016-08-15T12:15:00Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":264519,"stargazers_count":5819,"watchers_count":5819,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2137,"mirror_url":null,"open_issues_count":1154,"forks":2137,"open_issues":1154,"watchers":5819,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/7993"},"html":{"href":"https://github.com/elastic/kibana/pull/7993"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/7993"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/7993/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/7993/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/7993/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/43f9665ab6e11ba7ad35ddebb9269f62eba99398"}}}}
{"actor":{"display_login":"Bargs"}}