{"action":"opened","issue":{"url":"https://api.github.com/repos/rikkit/bath-hacked-2k15/issues/5","labels_url":"https://api.github.com/repos/rikkit/bath-hacked-2k15/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/rikkit/bath-hacked-2k15/issues/5/comments","events_url":"https://api.github.com/repos/rikkit/bath-hacked-2k15/issues/5/events","html_url":"https://github.com/rikkit/bath-hacked-2k15/issues/5","id":92998894,"number":5,"title":"ElasticSearch mapping","user":{"login":"rikkit","id":692840,"avatar_url":"https://avatars.githubusercontent.com/u/692840?v=3","gravatar_id":"","url":"https://api.github.com/users/rikkit","html_url":"https://github.com/rikkit","followers_url":"https://api.github.com/users/rikkit/followers","following_url":"https://api.github.com/users/rikkit/following{/other_user}","gists_url":"https://api.github.com/users/rikkit/gists{/gist_id}","starred_url":"https://api.github.com/users/rikkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikkit/subscriptions","organizations_url":"https://api.github.com/users/rikkit/orgs","repos_url":"https://api.github.com/users/rikkit/repos","events_url":"https://api.github.com/users/rikkit/events{/privacy}","received_events_url":"https://api.github.com/users/rikkit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-04T10:16:21Z","updated_at":"2015-07-04T10:16:21Z","closed_at":null,"body":"Crime data:\r\n\r\n```json\r\nPUT bath-hacked\r\nPOST bath-hacked/_mapping/crime\r\n{\r\n  \"crime\": {\r\n    \"dynamic_templates\": [\r\n      {\r\n        \"string_template\": {\r\n          \"mapping\": {\r\n            \"type\": \"multi_field\",\r\n            \"path\": \"full\",\r\n            \"fields\": {\r\n              \"#analyzed#\": {\r\n                \"type\": \"string\"\r\n              },\r\n              \"{name}\": {\r\n                \"index\": \"not_analyzed\",\r\n                \"type\": \"string\",\r\n                \"doc_values\": true\r\n              }\r\n            }\r\n          },\r\n          \"match_mapping_type\": \"string\",\r\n          \"match_pattern\": \"regex\",\r\n          \"path_match\": \".*\"\r\n        }\r\n      }\r\n    ],\r\n    \"properties\": {\r\n      \"date\": {\r\n        \"type\": \"date\"\r\n      },\r\n      \"location\": {\r\n        \"type\": \"geo_point\",\r\n        \"lat_lon\": \"true\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```"}}