{"action":"created","issue":{"url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/820","repository_url":"https://api.github.com/repos/NLPchina/elasticsearch-sql","labels_url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/820/labels{/name}","comments_url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/820/comments","events_url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/820/events","html_url":"https://github.com/NLPchina/elasticsearch-sql/issues/820","id":388070995,"node_id":"MDU6SXNzdWUzODgwNzA5OTU=","number":820,"title":"6.5.0 6.5.1版本报错问题","user":{"login":"tanjun2030","id":44665760,"node_id":"MDQ6VXNlcjQ0NjY1NzYw","avatar_url":"https://avatars3.githubusercontent.com/u/44665760?v=4","gravatar_id":"","url":"https://api.github.com/users/tanjun2030","html_url":"https://github.com/tanjun2030","followers_url":"https://api.github.com/users/tanjun2030/followers","following_url":"https://api.github.com/users/tanjun2030/following{/other_user}","gists_url":"https://api.github.com/users/tanjun2030/gists{/gist_id}","starred_url":"https://api.github.com/users/tanjun2030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanjun2030/subscriptions","organizations_url":"https://api.github.com/users/tanjun2030/orgs","repos_url":"https://api.github.com/users/tanjun2030/repos","events_url":"https://api.github.com/users/tanjun2030/events{/privacy}","received_events_url":"https://api.github.com/users/tanjun2030/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-06T06:13:02Z","updated_at":"2018-12-06T06:33:21Z","closed_at":null,"author_association":"NONE","body":"HI，我的ES版本是6.5.1，现在执行的时候一直报错，尝试了6.4.2版本正常。\r\n1.安装插件\r\n`./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/6.5.1.0/elasticsearch-sql-6.5.1.0.zip`\r\n2.安装node环境\r\n`cd site-server\r\nnpm install express --save\r\nnode node-server.js `\r\n3.启动elasticsearch并访问\r\n`http://localhost:9200/_sql?sql=select * from my_index limit 10`\r\n4.报错：\r\n`{\r\nerror: {\r\nroot_cause: [\r\n{\r\ntype: \"parse_exception\",\r\nreason: \"request body or source parameter is required\"\r\n}\r\n],\r\ntype: \"parse_exception\",\r\nreason: \"request body or source parameter is required\"\r\n},\r\nstatus: 400\r\n}`\r\n\r\n以上报错信息在6.5.0，6.5.1都是一样，6.4.2就没问题(我安装步骤是一样的）。\r\n谁知道原因吗？\r\n谢谢啦~"},"comment":{"url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/comments/444763963","html_url":"https://github.com/NLPchina/elasticsearch-sql/issues/820#issuecomment-444763963","issue_url":"https://api.github.com/repos/NLPchina/elasticsearch-sql/issues/820","id":444763963,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDc2Mzk2Mw==","user":{"login":"shi-yuan","id":8057153,"node_id":"MDQ6VXNlcjgwNTcxNTM=","avatar_url":"https://avatars3.githubusercontent.com/u/8057153?v=4","gravatar_id":"","url":"https://api.github.com/users/shi-yuan","html_url":"https://github.com/shi-yuan","followers_url":"https://api.github.com/users/shi-yuan/followers","following_url":"https://api.github.com/users/shi-yuan/following{/other_user}","gists_url":"https://api.github.com/users/shi-yuan/gists{/gist_id}","starred_url":"https://api.github.com/users/shi-yuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shi-yuan/subscriptions","organizations_url":"https://api.github.com/users/shi-yuan/orgs","repos_url":"https://api.github.com/users/shi-yuan/repos","events_url":"https://api.github.com/users/shi-yuan/events{/privacy}","received_events_url":"https://api.github.com/users/shi-yuan/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T06:33:21Z","updated_at":"2018-12-06T06:33:21Z","author_association":"MEMBER","body":"````\r\ncurl -X GET \"localhost:9200/_sql\" -H 'Content-Type: application/json' -d'\r\n{\r\n    \"sql\": \"SELECT * FROM my_index LIMIT 10\"\r\n}\r\n'\r\n````\r\n````\r\ncurl -X POST \"localhost:9200/_sql\" -H 'Content-Type: application/json' -d'\r\n{\r\n    \"sql\": \"SELECT * FROM my_index LIMIT 10\"\r\n}\r\n'\r\n````"}}
{"actor":{"display_login":"shi-yuan"}}