{"action":"created","comment":{"url":"https://api.github.com/repos/crate/crate/pulls/comments/108684008","pull_request_review_id":29728525,"id":108684008,"diff_hunk":"@@ -178,88 +170,128 @@ public void testExtractObjectColumnDefinitions() throws Exception {\n \n     @Test\n     public void testExtractColumnDefinitions() throws Exception {\n+        // @formatter:off\n         XContentBuilder builder = XContentFactory.jsonBuilder()\n             .startObject()\n-            .startObject(\"_meta\")\n-            .field(\"primary_keys\", \"id\")\n-            .endObject()\n-            .startObject(\"properties\")\n-            .startObject(\"id\")\n-            .field(\"type\", \"integer\")\n-            .field(\"index\", \"not_analyzed\")\n-            .endObject()\n-            .startObject(\"title\")\n-            .field(\"type\", \"string\")\n-            .field(\"index\", \"no\")\n-            .endObject()\n-            .startObject(\"datum\")\n-            .field(\"type\", \"date\")\n-            .endObject()\n-            .startObject(\"content\")\n-            .field(\"type\", \"string\")\n-            .field(\"index\", \"analyzed\")\n-            .field(\"analyzer\", \"standard\")\n-            .endObject()\n-            .startObject(\"person\")\n-            .startObject(\"properties\")\n-            .startObject(\"first_name\")\n-            .field(\"type\", \"string\")\n-            .field(\"index\", \"not_analyzed\")\n-            .endObject()\n-            .startObject(\"birthday\")\n-            .field(\"type\", \"date\")\n-            .field(\"index\", \"not_analyzed\")\n-            .endObject()\n-            .endObject()\n-            .endObject()\n-            .startObject(\"nested\")\n-            .field(\"type\", \"nested\")\n-            .startObject(\"properties\")\n-            .startObject(\"inner_nested\")\n-            .field(\"type\", \"date\")\n-            .field(\"index\", \"not_analyzed\")\n-            .endObject()\n-            .endObject()\n-            .endObject()\n-            .endObject()\n+                .startObject(\"_meta\")\n+                    .field(\"primary_keys\", \"integerIndexed\")\n+                .endObject()\n+                .startObject(\"properties\")\n+                    .startObject(\"integerIndexed\")\n+                        .field(\"type\", \"integer\")\n+                    .endObject()\n+                    .startObject(\"integerIndexedBWC\")\n+                        .field(\"type\", \"integer\")\n+                    .endObject()\n+                    .startObject(\"integerNotIndexed\")\n+                        .field(\"type\", \"integer\")\n+                        .field(\"index\", \"false\")\n+                    .endObject()\n+                    .startObject(\"integerNotIndexedBWC\")\n+                        .field(\"type\", \"integer\")\n+                        .field(\"index\", \"false\")\n+                    .endObject()\n+                    .startObject(\"stringNotIndexed\")\n+                        .field(\"type\", \"string\")\n+                        .field(\"index\", \"false\")\n+                    .endObject()\n+                    .startObject(\"stringNotIndexedBWC\")\n+                        .field(\"type\", \"string\")\n+                        .field(\"index\", \"false\")\n+                    .endObject()\n+                    .startObject(\"stringNotAnalyzed\")\n+                        .field(\"type\", \"keyword\")\n+                    .endObject()\n+                    .startObject(\"stringNotAnalyzedBWC\")\n+                        .field(\"type\", \"string\")","path":"sql/src/test/java/io/crate/metadata/doc/DocIndexMetaDataTest.java","position":131,"original_position":131,"commit_id":"18acc3afe51e9f46e84bbb559b82294dc0c4a84f","original_commit_id":"18acc3afe51e9f46e84bbb559b82294dc0c4a84f","user":{"login":"seut","id":219690,"avatar_url":"https://avatars3.githubusercontent.com/u/219690?v=3","gravatar_id":"","url":"https://api.github.com/users/seut","html_url":"https://github.com/seut","followers_url":"https://api.github.com/users/seut/followers","following_url":"https://api.github.com/users/seut/following{/other_user}","gists_url":"https://api.github.com/users/seut/gists{/gist_id}","starred_url":"https://api.github.com/users/seut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seut/subscriptions","organizations_url":"https://api.github.com/users/seut/orgs","repos_url":"https://api.github.com/users/seut/repos","events_url":"https://api.github.com/users/seut/events{/privacy}","received_events_url":"https://api.github.com/users/seut/received_events","type":"User","site_admin":false},"body":"`index`, `not_analyzed` is missing ","created_at":"2017-03-29T14:02:53Z","updated_at":"2017-03-29T14:04:22Z","html_url":"https://github.com/crate/crate/pull/5195#discussion_r108684008","pull_request_url":"https://api.github.com/repos/crate/crate/pulls/5195","_links":{"self":{"href":"https://api.github.com/repos/crate/crate/pulls/comments/108684008"},"html":{"href":"https://github.com/crate/crate/pull/5195#discussion_r108684008"},"pull_request":{"href":"https://api.github.com/repos/crate/crate/pulls/5195"}}},"pull_request":{"url":"https://api.github.com/repos/crate/crate/pulls/5195","id":112780621,"html_url":"https://github.com/crate/crate/pull/5195","diff_url":"https://github.com/crate/crate/pull/5195.diff","patch_url":"https://github.com/crate/crate/pull/5195.patch","issue_url":"https://api.github.com/repos/crate/crate/issues/5195","number":5195,"state":"open","locked":false,"title":"Fix index type deprecation warnings.","user":{"login":"matriv","id":5058131,"avatar_url":"https://avatars2.githubusercontent.com/u/5058131?v=3","gravatar_id":"","url":"https://api.github.com/users/matriv","html_url":"https://github.com/matriv","followers_url":"https://api.github.com/users/matriv/followers","following_url":"https://api.github.com/users/matriv/following{/other_user}","gists_url":"https://api.github.com/users/matriv/gists{/gist_id}","starred_url":"https://api.github.com/users/matriv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matriv/subscriptions","organizations_url":"https://api.github.com/users/matriv/orgs","repos_url":"https://api.github.com/users/matriv/repos","events_url":"https://api.github.com/users/matriv/events{/privacy}","received_events_url":"https://api.github.com/users/matriv/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-03-27T16:03:57Z","updated_at":"2017-03-29T14:04:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e923f68d9c4d0a6fd1d5c1350a192dab284c7a0f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/crate/crate/pulls/5195/commits","review_comments_url":"https://api.github.com/repos/crate/crate/pulls/5195/comments","review_comment_url":"https://api.github.com/repos/crate/crate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crate/crate/issues/5195/comments","statuses_url":"https://api.github.com/repos/crate/crate/statuses/18acc3afe51e9f46e84bbb559b82294dc0c4a84f","head":{"label":"crate:mt/fix-deprecation","ref":"mt/fix-deprecation","sha":"18acc3afe51e9f46e84bbb559b82294dc0c4a84f","user":{"login":"crate","id":4048232,"avatar_url":"https://avatars0.githubusercontent.com/u/4048232?v=3","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"repo":{"id":9342529,"name":"crate","full_name":"crate/crate","owner":{"login":"crate","id":4048232,"avatar_url":"https://avatars0.githubusercontent.com/u/4048232?v=3","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crate/crate","description":"CrateDB: The fast, scalable, easy to use SQL database with native full text search","fork":false,"url":"https://api.github.com/repos/crate/crate","forks_url":"https://api.github.com/repos/crate/crate/forks","keys_url":"https://api.github.com/repos/crate/crate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crate/crate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crate/crate/teams","hooks_url":"https://api.github.com/repos/crate/crate/hooks","issue_events_url":"https://api.github.com/repos/crate/crate/issues/events{/number}","events_url":"https://api.github.com/repos/crate/crate/events","assignees_url":"https://api.github.com/repos/crate/crate/assignees{/user}","branches_url":"https://api.github.com/repos/crate/crate/branches{/branch}","tags_url":"https://api.github.com/repos/crate/crate/tags","blobs_url":"https://api.github.com/repos/crate/crate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crate/crate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crate/crate/git/refs{/sha}","trees_url":"https://api.github.com/repos/crate/crate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crate/crate/statuses/{sha}","languages_url":"https://api.github.com/repos/crate/crate/languages","stargazers_url":"https://api.github.com/repos/crate/crate/stargazers","contributors_url":"https://api.github.com/repos/crate/crate/contributors","subscribers_url":"https://api.github.com/repos/crate/crate/subscribers","subscription_url":"https://api.github.com/repos/crate/crate/subscription","commits_url":"https://api.github.com/repos/crate/crate/commits{/sha}","git_commits_url":"https://api.github.com/repos/crate/crate/git/commits{/sha}","comments_url":"https://api.github.com/repos/crate/crate/comments{/number}","issue_comment_url":"https://api.github.com/repos/crate/crate/issues/comments{/number}","contents_url":"https://api.github.com/repos/crate/crate/contents/{+path}","compare_url":"https://api.github.com/repos/crate/crate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crate/crate/merges","archive_url":"https://api.github.com/repos/crate/crate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crate/crate/downloads","issues_url":"https://api.github.com/repos/crate/crate/issues{/number}","pulls_url":"https://api.github.com/repos/crate/crate/pulls{/number}","milestones_url":"https://api.github.com/repos/crate/crate/milestones{/number}","notifications_url":"https://api.github.com/repos/crate/crate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crate/crate/labels{/name}","releases_url":"https://api.github.com/repos/crate/crate/releases{/id}","deployments_url":"https://api.github.com/repos/crate/crate/deployments","created_at":"2013-04-10T09:17:16Z","updated_at":"2017-03-28T07:30:58Z","pushed_at":"2017-03-29T13:58:07Z","git_url":"git://github.com/crate/crate.git","ssh_url":"git@github.com:crate/crate.git","clone_url":"https://github.com/crate/crate.git","svn_url":"https://github.com/crate/crate","homepage":"https://crate.io","size":68847,"stargazers_count":1617,"watchers_count":1617,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":200,"mirror_url":null,"open_issues_count":70,"forks":200,"open_issues":70,"watchers":1617,"default_branch":"master"}},"base":{"label":"crate:five","ref":"five","sha":"7eadd755e64c48d5f937785cb9b2dff6dd155e6c","user":{"login":"crate","id":4048232,"avatar_url":"https://avatars0.githubusercontent.com/u/4048232?v=3","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"repo":{"id":9342529,"name":"crate","full_name":"crate/crate","owner":{"login":"crate","id":4048232,"avatar_url":"https://avatars0.githubusercontent.com/u/4048232?v=3","gravatar_id":"","url":"https://api.github.com/users/crate","html_url":"https://github.com/crate","followers_url":"https://api.github.com/users/crate/followers","following_url":"https://api.github.com/users/crate/following{/other_user}","gists_url":"https://api.github.com/users/crate/gists{/gist_id}","starred_url":"https://api.github.com/users/crate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crate/subscriptions","organizations_url":"https://api.github.com/users/crate/orgs","repos_url":"https://api.github.com/users/crate/repos","events_url":"https://api.github.com/users/crate/events{/privacy}","received_events_url":"https://api.github.com/users/crate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crate/crate","description":"CrateDB: The fast, scalable, easy to use SQL database with native full text search","fork":false,"url":"https://api.github.com/repos/crate/crate","forks_url":"https://api.github.com/repos/crate/crate/forks","keys_url":"https://api.github.com/repos/crate/crate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crate/crate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crate/crate/teams","hooks_url":"https://api.github.com/repos/crate/crate/hooks","issue_events_url":"https://api.github.com/repos/crate/crate/issues/events{/number}","events_url":"https://api.github.com/repos/crate/crate/events","assignees_url":"https://api.github.com/repos/crate/crate/assignees{/user}","branches_url":"https://api.github.com/repos/crate/crate/branches{/branch}","tags_url":"https://api.github.com/repos/crate/crate/tags","blobs_url":"https://api.github.com/repos/crate/crate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crate/crate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crate/crate/git/refs{/sha}","trees_url":"https://api.github.com/repos/crate/crate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crate/crate/statuses/{sha}","languages_url":"https://api.github.com/repos/crate/crate/languages","stargazers_url":"https://api.github.com/repos/crate/crate/stargazers","contributors_url":"https://api.github.com/repos/crate/crate/contributors","subscribers_url":"https://api.github.com/repos/crate/crate/subscribers","subscription_url":"https://api.github.com/repos/crate/crate/subscription","commits_url":"https://api.github.com/repos/crate/crate/commits{/sha}","git_commits_url":"https://api.github.com/repos/crate/crate/git/commits{/sha}","comments_url":"https://api.github.com/repos/crate/crate/comments{/number}","issue_comment_url":"https://api.github.com/repos/crate/crate/issues/comments{/number}","contents_url":"https://api.github.com/repos/crate/crate/contents/{+path}","compare_url":"https://api.github.com/repos/crate/crate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crate/crate/merges","archive_url":"https://api.github.com/repos/crate/crate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crate/crate/downloads","issues_url":"https://api.github.com/repos/crate/crate/issues{/number}","pulls_url":"https://api.github.com/repos/crate/crate/pulls{/number}","milestones_url":"https://api.github.com/repos/crate/crate/milestones{/number}","notifications_url":"https://api.github.com/repos/crate/crate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crate/crate/labels{/name}","releases_url":"https://api.github.com/repos/crate/crate/releases{/id}","deployments_url":"https://api.github.com/repos/crate/crate/deployments","created_at":"2013-04-10T09:17:16Z","updated_at":"2017-03-28T07:30:58Z","pushed_at":"2017-03-29T13:58:07Z","git_url":"git://github.com/crate/crate.git","ssh_url":"git@github.com:crate/crate.git","clone_url":"https://github.com/crate/crate.git","svn_url":"https://github.com/crate/crate","homepage":"https://crate.io","size":68847,"stargazers_count":1617,"watchers_count":1617,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":200,"mirror_url":null,"open_issues_count":70,"forks":200,"open_issues":70,"watchers":1617,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crate/crate/pulls/5195"},"html":{"href":"https://github.com/crate/crate/pull/5195"},"issue":{"href":"https://api.github.com/repos/crate/crate/issues/5195"},"comments":{"href":"https://api.github.com/repos/crate/crate/issues/5195/comments"},"review_comments":{"href":"https://api.github.com/repos/crate/crate/pulls/5195/comments"},"review_comment":{"href":"https://api.github.com/repos/crate/crate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crate/crate/pulls/5195/commits"},"statuses":{"href":"https://api.github.com/repos/crate/crate/statuses/18acc3afe51e9f46e84bbb559b82294dc0c4a84f"}}}}
{"actor":{"display_login":"seut"}}