{"action":"created","issue":{"url":"https://api.github.com/repos/WedjaaOpen/ElasticParser/issues/8","labels_url":"https://api.github.com/repos/WedjaaOpen/ElasticParser/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/WedjaaOpen/ElasticParser/issues/8/comments","events_url":"https://api.github.com/repos/WedjaaOpen/ElasticParser/issues/8/events","html_url":"https://github.com/WedjaaOpen/ElasticParser/issues/8","id":103003162,"number":8,"title":"In HITS mode \"fields projection\" feature is not yet supported","user":{"login":"GaneshRavi22","id":6080452,"avatar_url":"https://avatars.githubusercontent.com/u/6080452?v=3","gravatar_id":"","url":"https://api.github.com/users/GaneshRavi22","html_url":"https://github.com/GaneshRavi22","followers_url":"https://api.github.com/users/GaneshRavi22/followers","following_url":"https://api.github.com/users/GaneshRavi22/following{/other_user}","gists_url":"https://api.github.com/users/GaneshRavi22/gists{/gist_id}","starred_url":"https://api.github.com/users/GaneshRavi22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaneshRavi22/subscriptions","organizations_url":"https://api.github.com/users/GaneshRavi22/orgs","repos_url":"https://api.github.com/users/GaneshRavi22/repos","events_url":"https://api.github.com/users/GaneshRavi22/events{/privacy}","received_events_url":"https://api.github.com/users/GaneshRavi22/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-25T11:33:09Z","updated_at":"2015-08-25T12:13:00Z","closed_at":null,"body":"In ES, we can project only certain fields to be returned in the hits. For example consider the following:\r\n\r\n    {\r\n        \"fields\" : [\t\"name\", \"description\", \"group\" ],\r\n        \"query\": {\r\n    \t    \"match_all\": {}\r\n        }\r\n    }\r\n\r\nWhen we use the above query in HITS mode, no response fields are returned by the ElasticParser."},"comment":{"url":"https://api.github.com/repos/WedjaaOpen/ElasticParser/issues/comments/134566174","html_url":"https://github.com/WedjaaOpen/ElasticParser/issues/8#issuecomment-134566174","issue_url":"https://api.github.com/repos/WedjaaOpen/ElasticParser/issues/8","id":134566174,"user":{"login":"Wedjaa","id":6388662,"avatar_url":"https://avatars.githubusercontent.com/u/6388662?v=3","gravatar_id":"","url":"https://api.github.com/users/Wedjaa","html_url":"https://github.com/Wedjaa","followers_url":"https://api.github.com/users/Wedjaa/followers","following_url":"https://api.github.com/users/Wedjaa/following{/other_user}","gists_url":"https://api.github.com/users/Wedjaa/gists{/gist_id}","starred_url":"https://api.github.com/users/Wedjaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wedjaa/subscriptions","organizations_url":"https://api.github.com/users/Wedjaa/orgs","repos_url":"https://api.github.com/users/Wedjaa/repos","events_url":"https://api.github.com/users/Wedjaa/events{/privacy}","received_events_url":"https://api.github.com/users/Wedjaa/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T12:13:00Z","updated_at":"2015-08-25T12:13:00Z","body":"\r\n  Have you tried using \"_source\" to select the returned fields? IE:\r\n\r\n {\r\n   \"_source\": [ \"name\", \"description\", \"group\" ],\r\n    \"query\": { \"match_all\": {} }\r\n  }\r\n\r\n\r\n   "}}