{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/710","repository_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop","labels_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/710/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/710/events","html_url":"https://github.com/elastic/elasticsearch-hadoop/pull/710","id":137666417,"number":710,"title":"added support for highlight section in the hit part","user":{"login":"ColonelLanda","id":1355030,"avatar_url":"https://avatars.githubusercontent.com/u/1355030?v=3","gravatar_id":"","url":"https://api.github.com/users/ColonelLanda","html_url":"https://github.com/ColonelLanda","followers_url":"https://api.github.com/users/ColonelLanda/followers","following_url":"https://api.github.com/users/ColonelLanda/following{/other_user}","gists_url":"https://api.github.com/users/ColonelLanda/gists{/gist_id}","starred_url":"https://api.github.com/users/ColonelLanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColonelLanda/subscriptions","organizations_url":"https://api.github.com/users/ColonelLanda/orgs","repos_url":"https://api.github.com/users/ColonelLanda/repos","events_url":"https://api.github.com/users/ColonelLanda/events{/privacy}","received_events_url":"https://api.github.com/users/ColonelLanda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-01T19:40:08Z","updated_at":"2016-04-03T05:02:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/pulls/710","html_url":"https://github.com/elastic/elasticsearch-hadoop/pull/710","diff_url":"https://github.com/elastic/elasticsearch-hadoop/pull/710.diff","patch_url":"https://github.com/elastic/elasticsearch-hadoop/pull/710.patch"},"body":"I added support for retrieving highlighting data when a highlight query is used.\r\nIt partially solves https://github.com/elastic/elasticsearch-hadoop/issues/460 and also fixes the problem that was described in the following thread https://discuss.elastic.co/t/does-elasticsearch-for-hadoop-work-with-highlighting/896 .\r\nThe highlight section is located in the upper level of the map that is parsed from the JSON. \r\nI added tests to verify that it works."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/comments/204872538","html_url":"https://github.com/elastic/elasticsearch-hadoop/pull/710#issuecomment-204872538","issue_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/710","id":204872538,"user":{"login":"costin","id":76245,"avatar_url":"https://avatars.githubusercontent.com/u/76245?v=3","gravatar_id":"","url":"https://api.github.com/users/costin","html_url":"https://github.com/costin","followers_url":"https://api.github.com/users/costin/followers","following_url":"https://api.github.com/users/costin/following{/other_user}","gists_url":"https://api.github.com/users/costin/gists{/gist_id}","starred_url":"https://api.github.com/users/costin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/costin/subscriptions","organizations_url":"https://api.github.com/users/costin/orgs","repos_url":"https://api.github.com/users/costin/repos","events_url":"https://api.github.com/users/costin/events{/privacy}","received_events_url":"https://api.github.com/users/costin/received_events","type":"User","site_admin":false},"created_at":"2016-04-03T05:02:51Z","updated_at":"2016-04-03T05:02:51Z","body":"Thanks. As far as I'm concerned, this PR is considered signed.\r\nHowever before merging there is the issue of exposing the highlight field properly to the various libraries under a dedicated field. Not overly complicated but requires more testing.\r\n\r\nCheers,"}}