{"action":"created","issue":{"url":"https://api.github.com/repos/CottageLabs/edges/issues/5","repository_url":"https://api.github.com/repos/CottageLabs/edges","labels_url":"https://api.github.com/repos/CottageLabs/edges/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/CottageLabs/edges/issues/5/comments","events_url":"https://api.github.com/repos/CottageLabs/edges/issues/5/events","html_url":"https://github.com/CottageLabs/edges/issues/5","id":197627860,"number":5,"title":"ES 5.1","user":{"login":"dlwaticg","id":297996,"avatar_url":"https://avatars.githubusercontent.com/u/297996?v=3","gravatar_id":"","url":"https://api.github.com/users/dlwaticg","html_url":"https://github.com/dlwaticg","followers_url":"https://api.github.com/users/dlwaticg/followers","following_url":"https://api.github.com/users/dlwaticg/following{/other_user}","gists_url":"https://api.github.com/users/dlwaticg/gists{/gist_id}","starred_url":"https://api.github.com/users/dlwaticg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlwaticg/subscriptions","organizations_url":"https://api.github.com/users/dlwaticg/orgs","repos_url":"https://api.github.com/users/dlwaticg/repos","events_url":"https://api.github.com/users/dlwaticg/events{/privacy}","received_events_url":"https://api.github.com/users/dlwaticg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-26T23:57:15Z","updated_at":"2016-12-28T10:20:54Z","closed_at":null,"body":"Has anyone gotten Edges to work with Elastic Search 5.x?\r\n\r\nI am getting parse errors on the most basic usage -  see code snippet below.  Error message is \"request [/gmail/_search] contains unrecognized parameters: [_], [callback]\".  The input url string is :\r\n\r\nhttp://localhost:9200/gmail/_search?callback=jQuery111105851623103653166_1482796045779&source=%7B%22query%22%3A%7B%22query_string%22%3A%7B%22query%22%3A%22Fariba%22%2C%22default_operator%22%3A%22OR%22%7D%7D%7D&_=1482796045780\r\n\r\n\r\n\r\n\r\njQuery(document).ready(function($) {\r\n    d = false;\r\n    function cb(data) {\r\n        d = data;\r\n}\r\n\r\n    q = es.newQuery({\r\n        filtered: true,\r\n        /*size : 10,\r\n        from : 0,*/\r\n        queryString: \"Steve\", \r\n        /*sort : {field: \"date\", order: \"asc\"}, \r\n        fields: [\"subject\"] */\r\n    });\r\n\r\n    o = q.objectify();\r\n\r\n    es.doQuery({\r\n        search_url: \"http://localhost:9200/gmail/_search\",\r\n        queryobj: q.objectify(),\r\n        datatype: \"jsonp\",\r\n        success: cb\r\n\t});\r\n\t\r\n\tconsole.log(d)"},"comment":{"url":"https://api.github.com/repos/CottageLabs/edges/issues/comments/269457169","html_url":"https://github.com/CottageLabs/edges/issues/5#issuecomment-269457169","issue_url":"https://api.github.com/repos/CottageLabs/edges/issues/5","id":269457169,"user":{"login":"richard-jones","id":856138,"avatar_url":"https://avatars.githubusercontent.com/u/856138?v=3","gravatar_id":"","url":"https://api.github.com/users/richard-jones","html_url":"https://github.com/richard-jones","followers_url":"https://api.github.com/users/richard-jones/followers","following_url":"https://api.github.com/users/richard-jones/following{/other_user}","gists_url":"https://api.github.com/users/richard-jones/gists{/gist_id}","starred_url":"https://api.github.com/users/richard-jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richard-jones/subscriptions","organizations_url":"https://api.github.com/users/richard-jones/orgs","repos_url":"https://api.github.com/users/richard-jones/repos","events_url":"https://api.github.com/users/richard-jones/events{/privacy}","received_events_url":"https://api.github.com/users/richard-jones/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T10:20:54Z","updated_at":"2016-12-28T10:20:54Z","body":"There are some breaking changes between 1.x/2.x and 5.x and there's a new es layer which accounts for them:\r\n\r\nhttps://github.com/CottageLabs/edges/blob/develop/src/es5x.js\r\n\r\nAll you should need to do is switch es.js for es5x.js and your code should work.\r\n\r\nFor reference, the key thing that's different is that filtering no longer works the way it used to, so a filtered query will fail."}}
{"actor":{"display_login":"richard-jones"}}