{"action":"created","issue":{"url":"https://api.github.com/repos/DigitalPebble/storm-crawler/issues/275","repository_url":"https://api.github.com/repos/DigitalPebble/storm-crawler","labels_url":"https://api.github.com/repos/DigitalPebble/storm-crawler/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/DigitalPebble/storm-crawler/issues/275/comments","events_url":"https://api.github.com/repos/DigitalPebble/storm-crawler/issues/275/events","html_url":"https://github.com/DigitalPebble/storm-crawler/pull/275","id":149777695,"number":275,"title":"Update to Elasticsearch 2.x","user":{"login":"jnioche","id":218319,"avatar_url":"https://avatars.githubusercontent.com/u/218319?v=3","gravatar_id":"","url":"https://api.github.com/users/jnioche","html_url":"https://github.com/jnioche","followers_url":"https://api.github.com/users/jnioche/followers","following_url":"https://api.github.com/users/jnioche/following{/other_user}","gists_url":"https://api.github.com/users/jnioche/gists{/gist_id}","starred_url":"https://api.github.com/users/jnioche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnioche/subscriptions","organizations_url":"https://api.github.com/users/jnioche/orgs","repos_url":"https://api.github.com/users/jnioche/repos","events_url":"https://api.github.com/users/jnioche/events{/privacy}","received_events_url":"https://api.github.com/users/jnioche/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DigitalPebble/storm-crawler/labels/elasticsearch","name":"elasticsearch","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/DigitalPebble/storm-crawler/milestones/7","html_url":"https://github.com/DigitalPebble/storm-crawler/milestones/0.10","labels_url":"https://api.github.com/repos/DigitalPebble/storm-crawler/milestones/7/labels","id":1607712,"number":7,"title":"0.10","description":"","creator":{"login":"jnioche","id":218319,"avatar_url":"https://avatars.githubusercontent.com/u/218319?v=3","gravatar_id":"","url":"https://api.github.com/users/jnioche","html_url":"https://github.com/jnioche","followers_url":"https://api.github.com/users/jnioche/followers","following_url":"https://api.github.com/users/jnioche/following{/other_user}","gists_url":"https://api.github.com/users/jnioche/gists{/gist_id}","starred_url":"https://api.github.com/users/jnioche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnioche/subscriptions","organizations_url":"https://api.github.com/users/jnioche/orgs","repos_url":"https://api.github.com/users/jnioche/repos","events_url":"https://api.github.com/users/jnioche/events{/privacy}","received_events_url":"https://api.github.com/users/jnioche/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":26,"state":"closed","created_at":"2016-02-26T09:54:29Z","updated_at":"2016-06-13T09:25:05Z","due_on":"2016-06-29T23:00:00Z","closed_at":"2016-06-13T09:25:05Z"},"comments":8,"created_at":"2016-04-20T14:04:42Z","updated_at":"2016-07-22T12:58:41Z","closed_at":"2016-05-05T14:58:00Z","pull_request":{"url":"https://api.github.com/repos/DigitalPebble/storm-crawler/pulls/275","html_url":"https://github.com/DigitalPebble/storm-crawler/pull/275","diff_url":"https://github.com/DigitalPebble/storm-crawler/pull/275.diff","patch_url":"https://github.com/DigitalPebble/storm-crawler/pull/275.patch"},"body":"Based on #257, uses ES 2.3.1\r\n\r\nThe only limitation is that the node client does not work for now, but the transport one does.\r\n\r\n@w0mbat thanks for your work on #257 - I've built a new branch but yours was a great starting point. Any chance you could give this one a try?\r\n"},"comment":{"url":"https://api.github.com/repos/DigitalPebble/storm-crawler/issues/comments/234536769","html_url":"https://github.com/DigitalPebble/storm-crawler/pull/275#issuecomment-234536769","issue_url":"https://api.github.com/repos/DigitalPebble/storm-crawler/issues/275","id":234536769,"user":{"login":"ndtreviv","id":1530653,"avatar_url":"https://avatars.githubusercontent.com/u/1530653?v=3","gravatar_id":"","url":"https://api.github.com/users/ndtreviv","html_url":"https://github.com/ndtreviv","followers_url":"https://api.github.com/users/ndtreviv/followers","following_url":"https://api.github.com/users/ndtreviv/following{/other_user}","gists_url":"https://api.github.com/users/ndtreviv/gists{/gist_id}","starred_url":"https://api.github.com/users/ndtreviv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndtreviv/subscriptions","organizations_url":"https://api.github.com/users/ndtreviv/orgs","repos_url":"https://api.github.com/users/ndtreviv/repos","events_url":"https://api.github.com/users/ndtreviv/events{/privacy}","received_events_url":"https://api.github.com/users/ndtreviv/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T12:58:40Z","updated_at":"2016-07-22T12:58:40Z","body":"Just to confirm, this is how we're creating the mapping in one of our integration tests:\r\n\r\n```\r\nclient.admin().indices().preparePutMapping(\"status\").setType(\"status\")\r\n    .setSource(jsonBuilder().prettyPrint().startObject()\r\n        .startObject(\"status\")\r\n            .startObject(\"properties\")\r\n                .startObject(\"metadata\")\r\n                    .field(\"type\", \"nested\")\r\n                    .startObject(\"properties\")\r\n                        .startObject(\"hostname\")\r\n                            .field(\"type\", \"string\")\r\n                            .field(\"index\", \"not_analyzed\")\r\n                        .endObject()\r\n                    .endObject()\r\n                .endObject()\r\n            .endObject()\r\n       .endObject()\r\n    .endObject())\r\n    .execute().actionGet();\r\n```"}}
{"actor":{"display_login":"ndtreviv"}}