{"action":"opened","issue":{"url":"https://api.github.com/repos/jaibeermalik/elasticsearch-tutorial/issues/1","labels_url":"https://api.github.com/repos/jaibeermalik/elasticsearch-tutorial/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jaibeermalik/elasticsearch-tutorial/issues/1/comments","events_url":"https://api.github.com/repos/jaibeermalik/elasticsearch-tutorial/issues/1/events","html_url":"https://github.com/jaibeermalik/elasticsearch-tutorial/issues/1","id":55979855,"number":1,"title":"A problem with the new versions of elasticsearch","user":{"login":"mariotti","id":1578462,"avatar_url":"https://avatars.githubusercontent.com/u/1578462?v=3","gravatar_id":"","url":"https://api.github.com/users/mariotti","html_url":"https://github.com/mariotti","followers_url":"https://api.github.com/users/mariotti/followers","following_url":"https://api.github.com/users/mariotti/following{/other_user}","gists_url":"https://api.github.com/users/mariotti/gists{/gist_id}","starred_url":"https://api.github.com/users/mariotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariotti/subscriptions","organizations_url":"https://api.github.com/users/mariotti/orgs","repos_url":"https://api.github.com/users/mariotti/repos","events_url":"https://api.github.com/users/mariotti/events{/privacy}","received_events_url":"https://api.github.com/users/mariotti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-30T00:46:00Z","updated_at":"2015-01-30T00:46:00Z","closed_at":null,"body":"Apparently the setFields() and subsequent usage is not compatible with the new versions of elastic search.\r\n\r\nThis is not really well documented also on elasticsearch side.\r\n\r\nThe problem within this code rise up searching for \"categories\" which is not a main field, not sure about being a sub-field as it is defined within facets.\r\n\r\nOne of the issues is here:\r\nhttps://github.com/elasticsearch/elasticsearch/issues/4888\r\n\r\nI had also some other problems with a new version of elasticsearch so right now I cannot give you more details (my code changed:( ), but if you have interest we can exchange a couple of messages\r\nand I can try to reproduce the problems. Also because I am not 100% sure where the problem is:\r\nif the java API or the elasticsearch server version. So I might need some hint on your side.\r\n\r\nIndeed, if I can add here (not sure about githug, if I can send messages), I know it is a tutorial,\r\nbut one thing I did was to include the full tutorial and tests as a test environment for my setup.\r\n\r\nWhich was useful to define the servers, nodes and the like. SO my idea would be to extend this\r\ntutorial to be a nice test suite. This requires a bit of work indeed.. but I would be interested.\r\n\r\n"}}